Page 1 of 1

Collision Detection

Posted: Tue Apr 26, 2016 6:34 pm
by Evan407
I had an idea for collision detected and was wonder if you have any thoughts about it. Instead of using the current step and looking for overlapping pairs to detect collisions instead use the previous step and this step to check if there are any collisions between the two steps this way detection would still work for small fast moving objects.

Re: Collision Detection

Posted: Wed Apr 27, 2016 6:25 am
by drleviathan
Bullet supports continuous collision detection (CCD). It uses a small sphere to do a sweep between the steps, and then collides the real body. A brief wiki page provides some hints on how to use it.

Re: Collision Detection

Posted: Fri Aug 12, 2016 8:35 pm
by Evan407
drleviathan wrote:Bullet supports continuous collision detection (CCD). It uses a small sphere to do a sweep between the steps, and then collides the real body. A brief wiki page provides some hints on how to use it.
I tried this but it still is far from a fool proof method. At higher velocities RigidBodys can still go right through walls.

Re: Collision Detection

Posted: Sat Aug 13, 2016 1:21 pm
by benelot
Can you provide a bullet physics example browser example showing this tunnelling issue?