Category: 2D Game Physics (Pro)
BodyCollisionOther(body As Integer, index As Integer)
Integer
Returns the other body handle for one of this body's current contacts.
The index is zero-based. Returns 0 for an invalid body or index. Results describe the most recent physics step.
Pro feature: requires GamePhysics.
other = BodyCollisionOther(player, 0)