Fast continuous sphere-box test

Please don't post Bullet support questions here, use the above forums instead.
Francisco Garcia
Posts: 2
Joined: Sun Oct 28, 2007 7:15 pm

Fast continuous sphere-box test

Post by Francisco Garcia »

Hi!

I'm working in a Lagrangian real-time physics module and I need a fast continuous sphere-oriented box test (box with constant linear & angular speed in interval) ¿any reference?

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

Re: Fast continuous sphere-box test

Post by Erwin Coumans »

Francisco Garcia wrote:Hi!

I'm working in a Lagrangian real-time physics module and I need a fast continuous sphere-oriented box test (box with constant linear & angular speed in interval) ¿any reference?

Thanks!
For a continuous sphere versus box test, with constant linear and angular velocity, you can use the Conservative Advancement method. You can read about the concept in the FAST and CATCH papers on continuous collision detection. Brian Mirtich and Gino van den Bergen also discuss this approach, see the references.

You can see an implementation in the open source Bullet physics engine, in btContinuousConvexCollision. See bullet/Demos/ContinuousConvexCollision, and replace one of the moving boxes by a sphere shape (the method works for general convex shapes, not just spheres and boxes).

Hope this helps,
Erwin
Francisco Garcia
Posts: 2
Joined: Sun Oct 28, 2007 7:15 pm

Re: Fast continuous sphere-box test

Post by Francisco Garcia »

Ok...It's that all I need....Thank you very much!!