Category: 2D Game Physics (Pro)
PhysicsCollisionBodyA(world As Integer, index As Integer)
Integer
Returns the first body handle in a recorded collision pair.
Returns 0 when the world or zero-based index is invalid.
Pro feature: compiling code that uses this function requires a license with the GamePhysics feature enabled.
bodyA = PhysicsCollisionBodyA(world, i)