AnimationBlenderRootMode - stingray.AnimationBlenderRootMode enumeration reference - Stingray Lua API Reference

stingray.AnimationBlenderRootMode enumeration reference

Description

Root transform mode for AnimationBlender.

Enumeration values

Apply the position part of the root transform, ignore rotation and scale changes.
Apply the position and rotation parts of the root transform, ignore scale changes.
Apply the position and scale parts of the root transform, ignore rotation changes.
Apply the rotation part of the root transform, ignore position and scale changes.
Apply the rotation and scale parts of the root transform, ignore position changes.
Apply the scale part of the root transform, ignore position and rotation changes.

The delta changes to the root position, rotation and scale that occur in the animation will be applied to the the entity. I.e., the entity will be moved by the animation.

Root transforms are ignored, they will not affect the entity transform. This is the default mode.

If you use this mode you can use [wanted_root_pose] to extract the position the animation wanted to move the entity to and apply that programatically.