reactphysics3d icon indicating copy to clipboard operation
reactphysics3d copied to clipboard

Get all objects overlapped by sphere

Open ghost opened this issue 2 years ago • 1 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?

ghost avatar Jul 01 '23 10:07 ghost

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 avatar Jul 09 '23 13:07 DanielChappuis

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

DanielChappuis avatar Jun 14 '24 05:06 DanielChappuis