Velocity
Top
Previous
Next
Velocity is the rate at which the Object moves.
Example
If an object has a velocity of 10 pixels per second:
·
after 1 second it will have moved 10 pixels
·
after 10 seconds it will have moved 100 pixels.
Within SWiSHscript, the concept of velocity is also applied to % values. In this case, the velocity is the rate at which the % changes per second.