Open Asterune
AnimationController

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

Members6
Methods5
Events1

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(): table

Returns 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): AnimationTrack

Loads an Animation and returns an AnimationTrack. Call the track's Play method to start playback.

LoadGraph

AnimationController:LoadGraph(graph: AnimationGraph): AnimationGraphPlayer

Loads an AnimationGraph and returns an AnimationGraphPlayer.

Events

AnimationPlayed

AnimationController.AnimationPlayed: RBXScriptSignal

Fires when an animation track starts playing.

Inherited members

Inherited47

Instance