Documentation

Unity Engine

Download Unity

Unity Engine

Inverse(RigidTransform)

Inverts a root motion delta, the way AnimationStreamBlendingExtensions.Inverse inverts a pose.
Read time 1 minuteLast updated 4 hours ago

Definition

public static RigidTransform Inverse(RigidTransform delta)

Parameters

The delta to invert.

Returns

Type

Description

RigidTransformThe inverted delta.

Remarks

The method negates the translation and conjugates the rotation. Unlike
math.inverse
, it doesn't rotate the translation by the inverted rotation.
The result matches the stream operation only when the root of the clip starts the frame at the identity transform.