Skip to content

Documentation / scene / TwistConstraint

Interface: TwistConstraint ​

Defined in: libs/scene/src/animation/ik/ik_constraint.ts:46

Twist constraint configuration for a joint.

Properties ​

minTwist ​

minTwist: number

Defined in: libs/scene/src/animation/ik/ik_constraint.ts:48

Minimum twist angle in radians


maxTwist ​

maxTwist: number

Defined in: libs/scene/src/animation/ik/ik_constraint.ts:50

Maximum twist angle in radians


smoothFactor ​

smoothFactor: number

Defined in: libs/scene/src/animation/ik/ik_constraint.ts:52

Smoothing factor [0-1], 0 = no smoothing, 1 = full smoothing

Released under the MIT License.