Skip to content

@orillusion/core


Interface: TwoBoneIKConfig

Defined in: src/components/anim/ik/TwoBoneIK.ts:6

Properties

name

name: string

Defined in: src/components/anim/ik/TwoBoneIK.ts:7


chain

chain: [string, string, string]

Defined in: src/components/anim/ik/TwoBoneIK.ts:9

Bone names: [root (hip), middle (knee), end (ankle)].


target

target: Object3D | Vector3

Defined in: src/components/anim/ik/TwoBoneIK.ts:11

IK target (Vector3 or Object3D whose worldPosition is read each frame).


pole?

optional pole?: Object3D | Vector3

Defined in: src/components/anim/ik/TwoBoneIK.ts:13

Optional pole hint to fix the bend plane.


weight

weight: number

Defined in: src/components/anim/ik/TwoBoneIK.ts:15

[0,1] blend between the original pose and the IK-solved pose.