AnimationController
Loads and plays animations on a model without a Humanoid.
- Creatable
Instance.new("AnimationController")- Inherits
- Instance
- Replication
- Standard
Behavior
AnimationController loads and plays animations on a model without a Humanoid.
Summary
Returns this instance if it is an ExecutionGroup.
Returns the animation tracks currently playing on this animator.
Returns the animation graph players currently playing on this animator.
Loads an Animation and returns an AnimationTrack.
Loads an AnimationGraph and returns an AnimationGraphPlayer.
Fires when an animation track starts playing.
Methods
GetExecutionGroup
AnimationController:GetExecutionGroup(): ExecutionGroup?Returns this instance if it is an ExecutionGroup. Otherwise returns the nearest ancestor ExecutionGroup, or nil when no group contains the instance.
GetPlayingAnimationTracks
AnimationController:GetPlayingAnimationTracks(): tableReturns the animation tracks currently playing on this animator.
GetPlayingGraphs
AnimationController:GetPlayingGraphs(): { AnimationGraphPlayer }Returns the animation graph players currently playing on this animator.
LoadAnimation
AnimationController:LoadAnimation(animation: Animation): AnimationTrackLoads an Animation and returns an AnimationTrack. Call the track's Play method to start playback.
LoadGraph
AnimationController:LoadGraph(graph: AnimationGraph): AnimationGraphPlayerLoads an AnimationGraph and returns an AnimationGraphPlayer.
Events
AnimationPlayed
AnimationController.AnimationPlayed: RBXScriptSignalFires when an animation track starts playing.
Inherited members
- Properties
- ArchivableClassNameNameParent
- Methods
- AddComponent()AddTag()ClearAllChildren()ClearTags()Clone()Destroy()FindFirstAncestor()FindFirstAncestorOfClass()FindFirstAncestorWhichIsA()FindFirstChild()FindFirstChildOfClass()FindFirstChildWhichIsA()FindFirstDescendant()GetAttribute()GetAttributeChangedSignal()GetAttributes()GetChildren()GetComponent()GetComponentChangedSignal()GetComponents()GetDebugId()GetDescendants()GetFullName()GetPropertyChangedSignal()GetReferencing()GetTags()HasComponent()HasTag()IsA()IsAncestorOf()IsDescendantOf()RemoveComponent()RemoveTag()SetAttribute()WaitForChild()
- Events
- AncestryChangedAttributeChangedChangedChildAddedChildRemovedDescendantAddedDescendantRemovingDestroying