Documentation / scene / BoneNode
Interface: BoneNode
Defined in: libs/scene/src/animation/joint_dynamics/types.ts:406
Bone hierarchy node used to build constraints and simulation points.
Properties
index
index:
number
Defined in: libs/scene/src/animation/joint_dynamics/types.ts:408
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:410
World-space position at initialization time (used for rest-length calculation)
children
children:
BoneNode[]
Defined in: libs/scene/src/animation/joint_dynamics/types.ts:412
Child nodes in the hierarchy
isFixed
isFixed:
boolean
Defined in: libs/scene/src/animation/joint_dynamics/types.ts:414
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:416
Depth in the hierarchy (0 = root, increments per level)
useForSurfaceCollision?
optionaluseForSurfaceCollision?:boolean
Defined in: libs/scene/src/animation/joint_dynamics/types.ts:418
Whether to include in surface collision triangle generation (default: true)
boneAxis?
optionalboneAxis?:Vector3
Defined in: libs/scene/src/animation/joint_dynamics/types.ts:420
Local-space direction to first child. Auto-computed from transforms if omitted