HitboxesData
Defined in: sdk/src/physics3d/hitboxes.ts:27
Properties
Section titled “Properties”enabled
Section titled “enabled”enabled:
boolean
Defined in: sdk/src/physics3d/hitboxes.ts:36
layer:
number
Defined in: sdk/src/physics3d/hitboxes.ts:35
The collision layer the boxes are in, so a shot can ask for them and a sight line can leave them out.
minBoneLength
Section titled “minBoneLength”minBoneLength:
number
Defined in: sdk/src/physics3d/hitboxes.ts:33
A bone shorter than this gets no box (a finger, a toe); what hangs from it is its parent’s. World units.
skin:
number
Defined in: sdk/src/physics3d/hitboxes.ts:29
The skinned mesh whose bones get boxes; 0 finds the first one on the entity or below it.
thickness
Section titled “thickness”thickness:
number
Defined in: sdk/src/physics3d/hitboxes.ts:31
A box’s thickness as a fraction of its bone’s length, as a ragdoll’s limbs.