I’ve been breaking my head over how I can limit the speed of a bouncing ball. I’ve chosen that for every time it hits, to increase the speed by 5%, using the following code.
At a certain point the speed obv gets too fast. How can I limit it ( i tried several options) or alternatively; have it decreased back to the original speed and then start the loop again?