Add(RigidTransform, RigidTransform)
Adds two root motion deltas, the way AnimationStreamBlendingExtensions.Add adds two poses.
Read time 1 minuteLast updated 4 hours ago
Definition
- Type: Method
- Namespace: Unity.Animations
- Assembly: UnityEngine.AnimationCoreModule
public static RigidTransform Add(RigidTransform delta1, RigidTransform delta2)
Parameters
Returns
Type | Description |
|---|---|
| RigidTransform | The sum of the deltas. |
Remarks
The method adds the translations and multiplies the rotations. The result matches the stream operation only when the root of both clips starts the frame at the identity transform.