The continuous collision detection, the actual detection of the time of impact, should work reasonably well. There are queries for that, such as the convexSweepTest.
The btContinuousDynamicsWorld is about continuous collision _resolution_, using the results of CCD to prevent penetration (as far as possible), between dynamic objects.
Getting this to work is a significant amount of work, and we focus our resources on other areas at the moment.
If you only need continuous collision resolution for fast dynamic moving objects against the static world environment, then you can try using the btDiscreteDynamicsWorld and use:
Code: Select all
///only perform a CCD query when the motion in one timestep exceeds 1. units
body->setCcdMotionThreshold(1.);
/// perform a CCD query using an embedded sphere of radius 0.2
///stop the object at the time of impact, reported by the 'convexSweepTest using that sphere and the static world environment
body->setCcdSweptSphereRadius(0.2f);
Thanks,
Erwin