Main   Class List   Namespace List   Wiki

PhysicsDebris Class Reference
[Physics]

Represents one or more rigid bodies defined in a single mesh file with a limited lifetime. More...

Inheritance diagram for PhysicsDebris:
Inheritance graph
[legend]

List of all members.

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.

Detailed Description

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).


Member Data Documentation

Disables rendering of all instances of this type.

Reimplemented from GameBase.

Disables selection of all instances of this type.

Reimplemented from GameBase.



Copyright © GarageGames, LLC. All Rights Reserved.