query
fun World.query(lowerX: Float, lowerY: Float, upperX: Float, upperY: Float, callback: KtxQueryCallback)
Query the world for all fixtures that potentially overlap the provided AABB (Axis-Aligned Bounding Box).
Parameters
lowerX
the x coordinate of the lower left corner
lowerY
the y coordinate of the lower left corner
upperX
the x coordinate of the upper right corner
upperY
the y coordinate of the upper right corner
callback
a user implemented callback that is called for every fixture overlapping the AABB.