PlayAnimation(string animationName) | AnimationHandle | Play a named animation on this mesh, once | None |
PlayAnimation(string animationName, boolean looping) | AnimationHandle | Play a named animation on this mesh, optionally looping | None |
PlayAnimation(string animationName, boolean looping, table properties) | AnimationHandle | Play a named animation on this mesh, optional table can contain named values looping, either playbackTime or playbackSpeed and either 'positionFactor' or 'positionTime' a negative playbackSpeed will play the animation in reverse. For example playbackSpeed = -2 will play the animation twice as fast in reverse | None |
PlayAnimationLooping(string animationName) | AnimationHandle | Play a named animation on this mesh, repeatedly | None |
PlayAnimationLooping(string animationName, table properties) | AnimationHandle | This is the same as the PlayAnimation function taking a table containing playbackTime or playbackSpeed except that looping defaults to true | None |
PlayAnimationClient(string animationName) | AnimationHandle | Use PlayAnimation instead, works on client or server | Deprecated |
PlayAnimationClient(string animationName, boolean looping) | AnimationHandle | Use PlayAnimation instead, works on client or server | Deprecated |
PlayAnimationLoopingClient(string animationName, boolean looping) | AnimationHandle | Use PlayAnimation instead, works on client or server | Deprecated |
GetAnimationNames() | table<string> | Get a table of animation names that you can play on this mesh with PlayAnimation | None |
GetAnimationLength(string animationName) | number | Get the length of an animation in seconds | None |
CreateThruster() | Thruster | Add a thruster to an entity | None |
CreateRelativeThruster() | Thruster | Add a relative thruster to an entity | None |
DestroyThruster() | None | Destroy a thruster | None |
AddImpulse(Vector impulse) | Add Impulse. An integral of force over a time interval. Newton seconds | None | |
AddAngularImpulse(Rotation angularImpulse) | Add Angular Impulse. An integral of torque over a time interval. Newton seconds | None | |