Skip to content

Documentation / scene / BoneNode

Interface: BoneNode ​

Defined in: libs/scene/src/animation/joint_dynamics/types.ts:400

Bone hierarchy node used to build constraints and simulation points.

Properties ​

index ​

index: number

Defined in: libs/scene/src/animation/joint_dynamics/types.ts:402

Unique index of this bone (must match the position in the pointTransforms array)


position ​

position: Vector3

Defined in: libs/scene/src/animation/joint_dynamics/types.ts:404

World-space position at initialization time (used for rest-length calculation)


children ​

children: BoneNode[]

Defined in: libs/scene/src/animation/joint_dynamics/types.ts:406

Child nodes in the hierarchy


isFixed ​

isFixed: boolean

Defined in: libs/scene/src/animation/joint_dynamics/types.ts:408

If true, this point is fixed (weight=0, follows animation) — typically depth=0 roots


depth ​

depth: number

Defined in: libs/scene/src/animation/joint_dynamics/types.ts:410

Depth in the hierarchy (0 = root, increments per level)


useForSurfaceCollision? ​

optional useForSurfaceCollision?: boolean

Defined in: libs/scene/src/animation/joint_dynamics/types.ts:412

Whether to include in surface collision triangle generation (default: true)


boneAxis? ​

optional boneAxis?: Vector3

Defined in: libs/scene/src/animation/joint_dynamics/types.ts:414

Local-space direction to first child. Auto-computed from transforms if omitted

Released under the MIT License.