triangleMesh
triangleMesh(
options):TriangleMeshShape
A concave mesh: vertices x, y and z after one another in the
entity’s own axes, and indices three per triangle, each a vertex’s
place. A fixed or a kinematic body takes it, which the body’s type
holds: a dynamic body’s mesh has no inside to weigh.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
options |
{ indices: readonly number[]; vertices: readonly number[]; } |
options.indices |
readonly number[] |
options.vertices |
readonly number[] |