跳转到内容

IK2DData

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

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

bend: number

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

Two bones: which way the middle joint bends, 1 counter-clockwise or -1.


chainLength: number

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

Bones bent, this one and those above it.


enabled: boolean

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


matchTargetRotation: boolean

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

Also turn this bone to the target’s rotation: a foot flat on a slope, a hand holding what it holds.


target: number

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

What the end of this bone reaches for.


weight: number

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

0 leaves the animation alone, 1 reaches the target.