Skip to content

hitPartOf

hitPartOf(world, entity): { bone: string; character: number; } | null

Defined in: sdk/src/physics3d/hitboxes.ts:57

Which character a ray met and which of its bones, from the entity it met: the bone’s own name, and the entity with the Hitboxes (or Ragdoll) above it. Null for anything that is not a part of one.

World

number

{ bone: string; character: number; } | null