ANIM
Animation control.
Availability: Client-only
Methods
ANIM.playClip
client
Play an animation clip on a 3D object
Signature: action(obj, str, num)
Parameters:
| Name | Type | Description |
|---|---|---|
object | obj | The 3D object to animate |
clipID | str | Animation clip ID |
reps | num | Number of times to repeat (-1 for infinite) |
GAME.ANIM.playClip({}, "value", 0);
ANIM.stopClip
client
Stop an animation clip on a 3D object
Signature: action(obj, str)
Parameters:
| Name | Type | Description |
|---|---|---|
object | obj | The 3D object |
clipID | str | Animation clip ID to stop |
GAME.ANIM.stopClip({}, "value");