Documentation

Unity Engine

Download Unity

Unity Engine

Weight(RigidTransform, float)

Weights a root motion delta, the way AnimationStreamBlendingExtensions.Weight weights a pose.
Read time 1 minuteLast updated 4 hours ago

Definition

public static RigidTransform Weight(RigidTransform delta, float weight)

Parameters

The delta to weight.

weight

The weight to apply to the delta.

Returns

Type

Description

RigidTransformThe weighted delta.

Remarks

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