PHY GET COLLISION DATA This command is used to find out whether any collisions have taken place between any rigid bodies in the simulation.
Syntax
    Return Integer=PHY GET COLLISION DATA()
Returns
a value of 1 indicates collision data exists and a value of 0 indicates there is no collision data to be processed
Description
If the command returns a value of 1 then it means collision data is available and you can proceed to find out what collisions have taken place. The recommended usage of this command is as follows: call phy get collision data as part of a while loop inside the while loop extract any data about the collision In code this would look like: while phy get collision data ( )
Example Code

    No example code is provided for this command