Function RigidBody.getCollidingBodies

Returns a list of the bodies colliding with this one. By default, number of max contacts reported is at 0, see the contactsReported property to increase it. Note: The result of this test is not immediate after moving objects. For performance, list of collisions is updated once per frame and before the physics step. Consider using signals instead.

Array getCollidingBodies() nothrow @nogc const;