Documentation

Unity Engine

Download Unity

Unity Engine

Core.RotationConstraintData

Rotation constraint solver settings.
Read time 1 minuteLast updated 4 hours ago

Definition

public struct Core.RotationConstraintData

Fields

Value

Description

IndexThe constrained bone index.
LocalAxesMaskSpecifies the axes to which the constraint can apply rotation.
LocalOffsetSpecifies an additional local space rotation offset to apply to the constrained bone, after it has been rotated toward its target.
SourceOffsetsThe list of additional rotation offsets to apply on the sources.
SourceRotationsThe list of source rotations that influence the constrained bone's orientation. The constraint calculates rotation toward each target to produce a weighted sum. The order of source rotations does not affect the result.
SourceWeightsThe list of weights each source contributes to the final constrained pose.

Static Methods

Method

Description

DefaultReturns a set of default values for the rotation constraint solver.