True Axis Physics SDK 1.2.0.1 Beta Documentation
www.trueaxis.com

enum TA::DynamicObject::ReinitFlags
 

These flags are used by all the ReinitCollision functions and the SetCollisionObjectChanged function. If the collision of a DynamicObject is changed, the user may want to either keep the current mass and inertia tensor or update the current mass and inertia tensor to match the new collision. These flags can be used to give the user control over this when calling these functions.

Enumerator:
REINIT_FLAG_UPDATE_MASS
Recalculate the mass based on the current collision object.
REINIT_FLAG_UPDATE_INERTIA_TENSOR
Recalculate the inertia tensor for the current collision object.
REINIT_FLAG_UPDATE_CENTER_OFFSET
Recalculate the offset to the center of mass for the new collision object.



© Copyright 2004-2006 TRUE AXIS PTY LTD Australia. All rights reserved.