Skip to content

HullPoints

const HullPoints: Trait<{ points: () => Float32Array<ArrayBufferLike> | null; }>

Defined in: packages/engine/src/gameplay/physics/traits.ts:145

A hull collider’s points in the entity’s space, x, y and z after one another: every vertex of its model, as readHullPoints reads them. Apart from Collider, so a dump does not write out every vertex.