ExamineWorldCollisions()
Syntax
Result = ExamineWorldCollisions(Contacts)Description
Examine the collisions which have occurred in the world since the last call. Collisions have to be enabled with EnableWorldCollisions() before using this command. To step through the collisions, use NextWorldCollision().
Parameters
Contacts If set the #True, contact information about the colliding objects are collected and can be retrieved with WorldCollisionContact(), WorldCollisionNormal() and WorldCollisionAppliedImpulse(). If set to #False, no contact informations are collected (faster).
Return value
Returns nonzero if the collisions can be examined, returns zero otherwise.
See Also
EnableWorldCollisions(), NextWorldCollision()
Supported OS
All