Hello,
I am experiencing some troubles with the collision detection in Bullet. During a collision between a sphere and a box there are more than one contact point generated, which is not physically possible. I would like to know if anybody have already experienced that and how to solve it.
Thanks in advance,
M. Colleaux
Sphere / Box collision generates multiple contact points
-
- Posts: 9
- Joined: Thu Mar 26, 2009 6:09 pm
- Location: France
-
- Posts: 24
- Joined: Mon Mar 12, 2007 9:55 pm
Re: Sphere / Box collision generates multiple contact points
Bullet allows some penetration, and because of this, you can have multiple contact points. Bullet keeps up to 4 points, 3 to specify a contact triangle, and 1 that represents the deepest point of penetration. In your case, if you only want to consider 1 point, you can most likely just use the point with deepest penetration.