Delta(RigidTransform, RigidTransform)
Computes the difference between two root motion deltas, the way AnimationStreamBlendingExtensions.Delta computes the difference between two poses.
Read time 1 minuteLast updated 4 hours ago
Definition
- Type: Method
- Namespace: Unity.Animations
- Assembly: UnityEngine.AnimationCoreModule
public static RigidTransform Delta(RigidTransform input, RigidTransform subtract)
Parameters
Returns
Type | Description |
|---|---|
| RigidTransform | The difference between the deltas. |
Remarks
The result is . It matches the stream operation only when the root of both clips starts the frame at the identity transform.
Add(Inverse(subtract), input)