How can i increasing the value of a math.random over time?
So i got this line of code:
TEST:setLinearVelocity(0, math.random(100, 150))
And like to increase the (100, 150) by steps of 10 so :
(100, 150) - (110, 160) - (120, 170) - (130, 180) - … and so on.
What is the best way of doing this?
Kevin-
The unexpected symbol is just your two “…” symbols in the math.random() calls (copy-paste error).
thanks. anyway is you way better than my way of doing it or dos it not matter?