RootMotion
The motion of the root from the previous time of the timer to its current time.
Read time 1 minuteLast updated 3 hours ago
Definition
- Type: Field
- Namespace: Unity.Animations
- Assembly: UnityEngine.AnimationCoreModule
public RigidTransform RootMotion
Remarks
The value is the root transform at the current time, relative to the root transform at the previous time. For a looping clip, it includes the whole cycles that the timer crossed. Accumulate it after the transform of the character, for example .
character = math.mul(character, output.RootMotion)