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

void TA::DynamicObject::SetCollisionObjectChanged (
int   nFlags = (REINIT_FLAG_UPDATE_MASS | REINIT_FLAG_UPDATE_INERTIA_TENSOR | REINIT_FLAG_UPDATE_CENTER_OFFSET)  )
 

If the CollisionObjectCombo used by this DynamicObject is changed externally, then the DynamicObject will be out of date.

The user must call this function to update a DynamicObject after modifying its CollisionObjectCombo directly.

Failure to due so may cause unpredictable behaviour.

See TA::DynamicObject::ReinitFlags for details.

Parameters:
nFlags
Defaults to:
See TA::DynamicObject::ReinitFlags for details. Even if the user does not whish to update mass or the inertia tensor, they should still call this function after directly modifying a DynamicObjects collision.



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