Animation Controller: Difference between revisions
Eric Lengyel (talk | contribs) (Created page with "__NOTOC__ The '''Animation Controller''' is a type of controller that can be used to play animations for a generic model. == Settings == The following settings are available for Animation Controllers. {| {{Table}} {{Tablehead|Setting|Description}} |- {{Setting|'''Initial animation name'''|The name of the animation resource that is initially applied to the model.}} |- {{Setting|'''Animation is initially playing'''|If checked, then the animation is initially playing whe...") |
(No difference)
|
Latest revision as of 10:46, 15 July 2023
The Animation Controller is a type of controller that can be used to play animations for a generic model.
Settings
The following settings are available for Animation Controllers.
Setting |
Description |
Initial animation name |
The name of the animation resource that is initially applied to the model. |
Animation is initially playing |
If checked, then the animation is initially playing when the world is loaded. Otherwise, the animation is stopped. |
Animation plays in reverse |
If checked, then the animation plays in reverse. |
Animation is looping |
If checked, then the animation loops when it is played. |
Animation is oscillating |
If checked, then the animation plays forward and then plays in reverse. If the animation is also looping, then this oscillation repeats. |
Script Functions
The Animation Controller defines the following functions that can be called from a script using the Call Controller Function method.
Function |
Description |
Play Animation |
Plays a new animation for the target model and completes immediately.
|
Stop Animation |
Stops animation for the target model and completes immediately. |