Function Area2D.getOverlappingBodies

Returns a list of intersecting PhysicsBody2Ds. For performance reasons (collisions are all processed at the same time) this list is modified once during the physics step, not immediately after objects are moved. Consider using signals instead.

Array getOverlappingBodies() nothrow @nogc const;