Sphere/concave continuous detection

phr4nk
Posts: 1
Joined: Tue May 08, 2007 10:06 pm

Sphere/concave continuous detection

Post by phr4nk »

Does the Bullet library support (continuous) swept-sphere collision detection against concave meshes? The demo only shows continuous convex detection. Is continuous concave possible?

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

Post by Erwin Coumans »

Sorry for the large delay.

Bullet can do continuous collision detection between sphere versus 3d polysoup (terrain), by creating a 'temporal AABB', and then doing CCD between sphere versus each triangle that overlaps with this temporal AABB. This temporal AABB encloses the full motion (begin, in-between and end position) of the sphere.

This feature used to be working, but the CCD feature hasn't been activated in recent releases. When I get back to enabling CCD response (using time of impact), I'll doublecheck this is working properly.

Thanks for the feedback,
Erwin