Iterate over objects ina bounding box?

User avatar
Erwin Coumans
Site Admin
Posts: 4221
Joined: Sun Jun 26, 2005 6:43 pm
Location: California, USA

Re: Iterate over objects ina bounding box?

Post by Erwin Coumans »

The latest version of Bullet introduces a new method to iterate over all objects overlapping a given AABB, using the broadphase:

See btBroadphaseInterface::aabbTest

Code: Select all

virtual void	aabbTest(const btVector3& aabbMin, const btVector3& aabbMax, btBroadphaseAabbCallback& callback) = 0;
Thanks,
Erwin