DanielChappuis/reactphysics3d

Get all objects overlapped by sphere

Omroth opened this issue · 2 comments

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?

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.

I am closing this issue. Do not hesitate to reopen it if necessary.