Collision Detection
-
- Posts: 22
- Joined: Sun Jan 17, 2016 2:37 am
Collision Detection
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.
-
- Posts: 849
- Joined: Tue Sep 30, 2014 6:03 pm
- Location: San Francisco
Re: Collision Detection
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.
-
- Posts: 22
- Joined: Sun Jan 17, 2016 2:37 am
Re: Collision Detection
I tried this but it still is far from a fool proof method. At higher velocities RigidBodys can still go right through walls.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.
-
- Posts: 350
- Joined: Sat Jul 04, 2015 10:33 am
- Location: Bern, Switzerland
Re: Collision Detection
Can you provide a bullet physics example browser example showing this tunnelling issue?