|
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.
|