Documentation

Unity Engine

Download Unity

Unity Engine

BlendAdditive(RigidTransform, RigidTransform, float)

Blends an additive root motion delta into a delta, the way AnimationStreamBlendingExtensions.BlendAdditive blends an additive pose into a pose.
Read time 1 minuteLast updated 4 hours ago

Definition

public static RigidTransform BlendAdditive(RigidTransform delta, RigidTransform additive, float weight)

Parameters

The base delta to blend the additive delta into.

The additive delta.

weight

The weight of
additive
in the blend.

Returns

Type

Description

RigidTransformThe blended delta.

Remarks

The result matches the stream operation only when the root of both clips starts the frame at the identity transform.