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

void TA::DynamicObject::SetGhost (
bool   bValue  ) [inline]
 

Call this function make the object a ghost or solid. The default value is false.

A ghost object is not affected by collisions with other dynamic objects and vice versa. The collisions will still be added to the list obtain by calling TA::Physics::GetCollisionIterator. This can be useful for trigger points and power ups.

Alternatively, the user can use TA::Physics::SetPreProcessCollisionCallBack to check for collisions and disable them.

See also:
TA::DynamicObject::Ghost
Parameters:
bValue
true to make this object a ghost, false to make this object solid.



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