RigidBody.getCollidingBodies

Returns a list of the bodies colliding with this one. Requires contactMonitor to be set to true and contactsReported to be set high enough to detect all the collisions. 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.

struct RigidBody
@nogc nothrow const
Array
getCollidingBodies
()

Meta