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

void TA::Physics::AddDynamicObject (
DynamicObject *   pDynamicObject,
bool   bInitiallyMoving = true
 

Call this function to add a dynamic object to the physics simulation. If the object is already added, this function will have no effect. See TA::PhysicsObject and TA::DynamicObject for more details.

Note:
This function calls AddRef() on the parameter pDynamicObject. Release() will be called by TA::Physics::RemoveDynamicObject or when TA::Physics is destroyed. See reference counting for more information.
Parameters:
pDynamicObject
A pointer to the dynamic object to add to the simulation. Must be non-zero.
bInitiallyMoving
Specifies the initial state that will be given to the object, moving or at rest.
Examples:
BallAndSocketJointExample.cpp, CollisionObjectComboExample.cpp, HingeJointExample.cpp, SimplePhysicsSimulationExample.cpp, and SliderJointExample.cpp.



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