Documentation / @sw-file-lib/core / parsePhys
Function: parsePhys()
ts
function parsePhys(input: BinaryReaderInput): PhysData;Defined in: mesh/index.ts:139
Parses a Stormworks physics collision mesh.
Parameters
| Parameter | Type | Description |
|---|---|---|
input | BinaryReaderInput | Binary physics mesh data. |
Returns
The parsed physics mesh.
Throws
If the file signature is not "phys".