Is there a way to get list of intersections from AABB

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Michael Antkiewicz

Hello, I am placing a gridmap using set_cell_item and right now for each grid cell I’m creating an AABB to test for collisions in the cell. I’d like to get a list of intersections with the AABB, and depending on the collider, either set the cell or leave it empty. I know of the documented methods intersect() and intersection(AABB) but neither of those tell me what the AABB is intersecting with. Is there a way to get all the colliders intersecting with the box? Or is there another way to do this?]

Thanks