How to use convexSweepTest

sjcomp
Posts: 2
Joined: Wed Apr 28, 2010 6:19 am

How to use convexSweepTest

Post by sjcomp »

Hello,

I am new to Bullet and I am trying to understand how to use convexSweepTest. I want to catch collisions for fast moving objects. I took CollisionInterfaceDemo, and made the second object move very fast. CollisionInterfaceDemo uses performDiscreteCollisionDetection, which does not work for this situation.
use the broadphase to accelerate the search for objects, based on their aabb and for each object with ray-aabb overlap, perform an exact ray test unfortunately the implementation for rayTest and convexSweepTest duplicated, albeit practically identical
I am not following how to accelerate the search for objects to get pair of objects to test with convexSweepTest?

Thanks.