IK2DData
此内容尚不支持你的语言。
Defined in: sdk/src/rig2d/rig2dPlugin.ts:32
Properties
Section titled “Properties”bend:
number
Defined in: sdk/src/rig2d/rig2dPlugin.ts:38
Two bones: which way the middle joint bends, 1 counter-clockwise or -1.
chainLength
Section titled “chainLength”chainLength:
number
Defined in: sdk/src/rig2d/rig2dPlugin.ts:36
Bones bent, this one and those above it.
enabled
Section titled “enabled”enabled:
boolean
Defined in: sdk/src/rig2d/rig2dPlugin.ts:43
matchTargetRotation
Section titled “matchTargetRotation”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
Section titled “target”target:
number
Defined in: sdk/src/rig2d/rig2dPlugin.ts:34
What the end of this bone reaches for.
weight
Section titled “weight”weight:
number
Defined in: sdk/src/rig2d/rig2dPlugin.ts:40
0 leaves the animation alone, 1 reaches the target.