Table of Contents

Physics

(NOTE) Contains the indices of a convex mesh. The triangle indices are the primary method to configure this (required for mass computations). The regular indices are used for debug drawing and to reduce intersection tests by removing duplicate points. If left empty, Indices will be auto-filled from the triangle indices.

Methods Properties Base Classes Derived Classes
Indices safeid32object
Mesh
TriangleIndices
Valid

Properties


Indices : multiconvexmeshindexdata

read-only

The vertex indices on the main mesh used to generate the convex hull.

var Indices : MultiConvexMeshIndexData

Mesh : multiconvexmesh

The MultiConvexMesh that owns this sub-mesh.

var Mesh : MultiConvexMesh

TriangleIndices : multiconvexmeshindexdata

read-only

The vertex indices on the main mesh used to generate triangle indices for computing mass information and debug drawing. More indices are needed for determining triangles than for generating the convex mesh.

var TriangleIndices : MultiConvexMeshIndexData

Valid : boolean

read-only

Is this sub-mesh incorrectly configured. Typically means that the indices don't point to valid vertices. Also the number of triangle indices could be incorrect (multiple of 3).

var Valid : Boolean

Methods