Skip to content

Documentation / scene / IKJoint

Interface: IKJoint

Defined in: libs/scene/src/animation/ik/ik_joint.ts:9

Represents a joint in an IK chain.

Properties

node

node: SceneNode

Defined in: libs/scene/src/animation/ik/ik_joint.ts:11

The scene node associated with this joint


position

position: Vector3

Defined in: libs/scene/src/animation/ik/ik_joint.ts:13

Current position in world space (updated during solving)


originalPosition

originalPosition: Vector3

Defined in: libs/scene/src/animation/ik/ik_joint.ts:15

Original position before solving (for reference)


rotation

rotation: Quaternion

Defined in: libs/scene/src/animation/ik/ik_joint.ts:17

Current rotation in world space


originalRotation

originalRotation: Quaternion

Defined in: libs/scene/src/animation/ik/ik_joint.ts:19

Original rotation before solving (for reference)


boneLength

boneLength: number

Defined in: libs/scene/src/animation/ik/ik_joint.ts:21

Length of the bone from this joint to the next (0 for end effector)


previousIKRotation?

optional previousIKRotation?: Quaternion

Defined in: libs/scene/src/animation/ik/ik_joint.ts:23

Previous IK world rotation (for twist continuity across frames)


previousTwist?

optional previousTwist?: number

Defined in: libs/scene/src/animation/ik/ik_joint.ts:25

Previous twist angle in radians (for twist smoothing)

Released under the MIT License.