跳转到内容

BoneConstraintKind

此内容尚不支持你的语言。

const BoneConstraintKind: object

Defined in: sdk/src/rig2d/rig2dPlugin.ts:61

What a BoneConstraint2D does.

readonly CopyPosition: 2 = 2

Stand on source’s world position.

readonly CopyRotation: 1 = 1

Take source’s world rotation, plus offset.

readonly LimitRotation: 0 = 0

Keep the bone’s local rotation between min and max. An IK chain through this bone keeps to them too.

readonly LookAt: 3 = 3

Point +x at source, plus offset.