Documentation

Unity Engine

Download Unity

Unity Engine

Core.PositionConstraintData

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

Definition

public struct Core.PositionConstraintData

Fields

Value

Description

IndexThe constrained bone index.
LocalAxesMaskSpecifies the axes to which the constraint can apply translation.
LocalOffsetSpecifies an additional local space translation offset to apply to the constrained bone, after it has been moved toward its target.
SourceOffsetsThe list of additional translation offsets to apply on the source positions.
SourcePositionsThe list of source positions that influence the constrained bone's position. The constraint calculates translation toward each target to produce a weighted sum. The order of source positions 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 position constraint solver.