Play Action Animation with Translation
Plays an action (animation that is listed in a Sequine Animation Data asset) by specifying the Action ID, and apply a simple translation along the animation.
This is a simple merge between Play Action Animation command and Tween Position command, where the duration of the tween is automatically set using the animation's duration.
Inputs
- Target: The target Sequine Player which we want to play the action animation to. See Cross-Scene System.
- Action: The action ID to play. The list dropdown is based on the action animations specified inside the Sequine Animation Data asset.
- Translation: The vector3 translation value to be applied to.
- Easing: The easing function to be used for the translation tween.
- Restart: Restart the animation from beginning.
- Configurations:
- Layer: The layer index which this animation should be played to.
- Speed: The speed of the animation.
- Transition Duration: The duration of the blending between previous animation and the animation to be played.
- Normalized Transition: If
true
, then the Transition Duration will be in percentage of the total duration, instead of directly in seconds. - Length to Play: How many times the animation should play until the command is marked as finished, and On Complete will be invoked.
Outputs
- On Complete: The main output that is only invoked when the animation is finished (reached the Length to Play). If you want to do something next immediately without waiting the animation to finish, use the default main output (the one on the upper right).
- Total Duration: The total duration of the animation being played. It is expected to be the clip's total duration multiplied by the Length to Play.