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.
Parameters
Section titled “Parameters”entity
Section titled “entity”number
Returns
Section titled “Returns”{ bone: string; character: number; } | null