BlendAdditive(RigidTransform, RigidTransform, float)
Blends an additive root motion delta into a delta, the way AnimationStreamBlendingExtensions.BlendAdditive blends an additive pose into a pose.
Read time 1 minuteLast updated 4 hours ago
Definition
- Type: Method
- Namespace: Unity.Animations
- Assembly: UnityEngine.AnimationCoreModule
public static RigidTransform BlendAdditive(RigidTransform delta, RigidTransform additive, float weight)
Parameters
The base delta to blend the additive delta into.
The additive delta.
The weight of in the blend.
additiveReturns
Type | Description |
|---|---|
| RigidTransform | The blended delta. |
Remarks
The result matches the stream operation only when the root of both clips starts the frame at the identity transform.