NextWorldCollision()
Syntax
Result = NextWorldCollision()Description
Go to the next collision. ExamineWorldCollisions() needs to be called successfully before using this command. To get more information about the current collision, use FirstWorldCollisionEntity()(), SecondWorldCollisionEntity(), WorldCollisionContact(), WorldCollisionNormal() and WorldCollisionAppliedImpulse().
Return value
Returns nonzero if there is another collision to be examined, or zero if there is no more collisions.
See Also
ExamineWorldCollisions(), FirstWorldCollisionEntity(), SecondWorldCollisionEntity(), WorldCollisionContact(), WorldCollisionNormal(), WorldCollisionAppliedImpulse()
Supported OS
All