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.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
model |
Object3D |
Returns
Section titled “Returns”Float32Array