19.11.4 bodies

bodyA, bodyB = physics.Arbiter:bodies()

Parameter

Type

Description

self

in physics.Arbiter

The input Arbiter

bodyA out physics.Body The first Body in the collision pair

bodyB

out physics.Body

The second Body in the collision pair

Returns bodyA and bodyB in the collision pair.

Introduced in platform.apiLevel = '2.0'