Skip to content

readHullPoints

readHullPoints(model): Float32Array

Defined in: packages/engine/src/gameplay/physics/colliders.ts:21

Every vertex of every mesh in model, in the space model stands in: the points a hull collider wraps. The browser reads them off the loaded model and a headless scene off the same file, so both shape one hull.

Parameter Type
model Object3D

Float32Array