Skip to content
Work in progress. These docs describe Spawnite at launch, and some parts are still being built.

TriangleMeshShape

A concave mesh of triangles: vertices x, y and z after one another, and indices three per triangle. A fixed or kinematic body’s alone.

Property Modifier Type
indices readonly readonly number[]
type readonly TriangleMesh
vertices readonly readonly number[]