Documentation

Unity Engine

Download Unity

Unity Engine

Add(RigidTransform, RigidTransform)

Adds two root motion deltas, the way AnimationStreamBlendingExtensions.Add adds two poses.
Read time 1 minuteLast updated 4 hours ago

Definition

public static RigidTransform Add(RigidTransform delta1, RigidTransform delta2)

Parameters

The first delta.

The second delta.

Returns

Type

Description

RigidTransformThe 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.