Animator
Animators are
responsible for playing animations on the Luanoid primarily through the
CharacterController. Luanoids can accept different Animators by setting the
Animator property on them.
Animations loaded on the server before the Client Luanoid is created will automatically be replicated.
See Custom Animators for writing your own Animator.
Properties
Luanoid
This item is read only and cannot be modified. Read OnlyAnimator.Luanoid: LuanoidReference to the Luanoid this CharacterController is attached to.
AnimationController
This item is read only and cannot be modified. Read OnlyAnimator.AnimationController: AnimationControllerReference to the AnimationController used internally.
Animator
This item is read only and cannot be modified. Read OnlyAnimator.Animator: AnimatorReference to the Animator used internally.
AnimationTracks
This item is read only and cannot be modified. Read OnlyReferences to the loaded AnimationTracks.
AnimationPlayed
This item is read only and cannot be modified. Read OnlyFires after PlayAnimation() is executed.
AnimationStopped
This item is read only and cannot be modified. Read OnlyFires after StopAnimation() is executed.
AnimationLoaded
This item is read only and cannot be modified. Read OnlyFires after LoadAnimation() is executed.
AnimationUnloading
This item is read only and cannot be modified. Read OnlyFires while UnloadAnimation() is executing.
Functions
LoadAnimation
Loads an animation into the Animator under a name that can be used to play it later.
PlayAnimation
Animator:PlayAnimation(name: string,...: any) → ()
Plays an animation loaded previously. Remaining arguments are passed to
AnimationTrack:Play().
StopAnimation
Animator:StopAnimation(name: string,...: any) → ()
Stops a playing AnimationTrack. Remaining arguments are passed to
AnimationTrack:Stop().
StopAnimations
Animator:StopAnimations(...: any) → ()
Stops all currently playing AnimationTracks. Arguments are passed to
AnimationTrack:Stop().
UnloadAnimation
Animator:UnloadAnimation(name: string) → ()Unloads an animation from the Animator.
UnloadAnimations
Animator:UnloadAnimations() → ()Unloads all animations from the Animator.