Add(RigidTransform, float)
Adds a weighted root motion delta to the mix.
Read time 1 minuteLast updated 5 hours ago
Definition
- Type: Method
- Namespace: Unity.Animations
- Assembly: UnityEngine.AnimationCoreModule
public void Add(RigidTransform delta, float weight)
Parameters
The delta to add, for example MotionOutput.RootMotion from ClipSampler.SampleRootMotion.
The weight of the delta in the mix. The mixer doesn't normalize weights.