Skip to content

five-on-it / apps/tools/src/models / vehicleHulls

Function: vehicleHulls() ​

vehicleHulls(glb): VehicleHulls

Defined in: apps/tools/src/models.ts:47

The hull point clouds of a vehicles model: every top-level node carrying a class extra, the vertices of its body and its wheels' above the body's lowest point, turned into the game's frame ((−x, y, −z) of the glTF's), welded to the millimetre and sorted, so the file is the same for the same model.

Parameters ​

glb ​

Uint8Array

Returns ​

VehicleHulls