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

DynamicObject::CollisionIterator TA::DynamicObject::GetCollisionIterator (  ) [inline]
 

This function can be used to obtain an iterator for the list of all collisions that occurred during the last physics frame. This allows the user to determine what has been collided with and what impulses have been applied to the object.

Note:
The collision list must be enabled first with TA::DynamicObject::SetCollisionListEnabled.
Also, collisions are not kept between two objects that are at rest.
See also:
TA::DynamicObject::CollisionIterator.
Returns:
An iterator for the list of collisions.
Examples:
CollisionListExample.cpp.



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