|
Represents one or more rigid bodies defined in a single mesh file with a limited lifetime. More...
Static Public Attributes | |
static bool | isRenderable |
Disables rendering of all instances of this type. | |
static bool | isSelectable |
Disables selection of all instances of this type. |
Represents one or more rigid bodies defined in a single mesh file with a limited lifetime.
PhysicsDebris loads a standard dts and creates a rigid body for each collision node.
To work correctly the collision nodes must be positioned as PhysicsDebrisexpects.
Two possible cases: 1. Visible mesh nodes are siblings of the collision node under a common parent dummy node 2. Collision node is a child of its visible mesh node
Also colmesh type nodes are NOT supported; physx and most standard rigid body simulations do not support arbitrary triangle meshs for dynamics do to the computational expense. Therefore, collision nodes must be one of the following: Colbox, Colsphere, Colcapsule, or Col (convex).
bool PhysicsDebris::isRenderable [static] |
Disables rendering of all instances of this type.
Reimplemented from GameBase.
bool PhysicsDebris::isSelectable [static] |
Disables selection of all instances of this type.
Reimplemented from GameBase.