Skip to content

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

Interface: PhysGroup ​

ts
interface PhysGroup {
  vertices: MeshVec3[];
  indices: number[];
}

Defined in: mesh/index.ts:89

A collision/physics mesh group.

Each group contains an independent vertex and index buffer.

Properties ​

PropertyTypeDescription

vertices

MeshVec3[]

Vertex positions.

indices

number[]

Triangle index buffer.