Inverse(RigidTransform)
Inverts a root motion delta, the way AnimationStreamBlendingExtensions.Inverse inverts a pose.
Read time 1 minuteLast updated 4 hours ago
Definition
- Type: Method
- Namespace: Unity.Animations
- Assembly: UnityEngine.AnimationCoreModule
public static RigidTransform Inverse(RigidTransform delta)
Parameters
The delta to invert.
Returns
Type | Description |
|---|---|
| RigidTransform | The inverted delta. |
Remarks
The method negates the translation and conjugates the rotation. Unlike , it doesn't rotate the translation by the inverted rotation.
math.inverseThe result matches the stream operation only when the root of the clip starts the frame at the identity transform.