RootTransform
The transform of the root in character space at the current time of the timer.
Read time 1 minuteLast updated 4 hours ago
Definition
- Type: Field
- Namespace: Unity.Animations
- Assembly: UnityEngine.AnimationCoreModule
public RigidTransform RootTransform
Remarks
The value is the transform of the root on the curves of the clip, after the root motion settings of the clip. It doesn't include the cycles that a looping clip completed. ClipSampler.SampleExtractingRootMotion expresses the root motion bone of the pose relative to this transform. For a pose that you build yourself, pass it to AnimationStream.ExtractRootMotionBone.