animate
Description:
Animates a model from its current position to the given offsets, scale and rotation.
Parameters:
this |
an item model. |
x |
the final x coordinate. |
y |
the final y coordinate. |
scale |
the final scale. |
degrees |
the final rotation. This can be negative to rotate anticlockwise, and can also be greater than 360 to rotate a number of times. |
absolute |
if the |
duration |
the duration of the animation, in milliseconds (1/1000ths of a second). |
step_time |
the time between each animation step, in milliseconds. |
type |
specifies what happens when the animation finishes. |