Skip to content

Documentation / @sw-file-lib/core / PhysData

Interface: PhysData ​

ts
interface PhysData {
  kind: "phys";
  groups: PhysGroup[];
}

Defined in: mesh/index.ts:101

A Stormworks physics collision mesh.

The data is a direct representation of .phys contents.

Properties ​

PropertyTypeDescription

kind

"phys"

Discriminator for physics data.

groups

PhysGroup[]

Collision mesh groups.