Get all objects overlapped by sphere
Omroth opened this issue · 2 comments
Omroth commented
I'd like to find all objects within a sphere in the dworld. Best way I've found is to PhysicsWorld::testOverlap but that involves adding a CollisionShape to a Body to get a Collider - is there not a quicker way?
DanielChappuis commented
Yes sorry that is currently the way to do it. I plan to simplify this in the future to have better API to perform world queries.
DanielChappuis commented
I am closing this issue. Do not hesitate to reopen it if necessary.