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

void TA::DynamicObject::ReinitCollisionAsAnOrientedBox (
const AABB &   aabb,
const MFrame &   mFrame,
int   nFlags = (REINIT_FLAG_UPDATE_MASS | REINIT_FLAG_UPDATE_INERTIA_TENSOR | REINIT_FLAG_UPDATE_CENTER_OFFSET)
 

Call this function to change the current collision object to a box, or if already a box, change the dimensions and orientation.

See also:
TA::DynamicObject::ReinitFlags, TA::DynamicObject::ReinitCollisionAsABox, TA::DynamicObject::ReinitCollisionAsACapsule, TA::DynamicObject::ReinitCollisionAsASphere, TA::DynamicObject::ReinitCollisionAsACylinder, TA::DynamicObject::SetCollisionObject and TA::DynamicObject::SetCollisionObjectChanged.
Parameters:
aabb
The box used for the collision object.
mFrame
A transformation to apply to the axis aligned bounding box.
nFlags
Defaults to:
See TA::DynamicObject::ReinitFlags for details.



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