I seem to remember some discussion about FP v3.0 including support for queries. I imagine this as a way to ask the engine for all geometries intersecting with another geometry or AABB. Also I'd imagine it to include a way to filter the results by collision
category or group or other properties. Am I on the right track here?
Since FP 3.0 is probably a while away yet, what would be the best way to achieve this with FP 2.1.1? My current ideas are
1) Iterate all geometries and call Collide(), and
2) Put all relevant geometries into a QuadTree structure and query that.
However, I think there must be a better way, perhaps utilising existing FP broadphase algorithms. Thanks in advance for your thoughts :)