Penetration

Please don't post Bullet support questions here, use the above forums instead.
Dirk Gregorius
Posts: 861
Joined: Sun Jul 03, 2005 4:06 pm
Location: Kirkland, WA

Penetration

Post by Dirk Gregorius »

Just out of curiousity. What methods can be used to compute the (deep) penetration of two convex polyhedra. Are there any alternatives to EPA and Erwin's "Sampling" method that he uses in Bullet?
raigan2
Posts: 197
Joined: Sat Aug 19, 2006 11:52 pm

Post by raigan2 »

Seperating axes works well for convex shapes in 2D, I'm not sure what potential issues there are with extending it to 3D.
User avatar
Erwin Coumans
Site Admin
Posts: 4221
Joined: Sun Jun 26, 2005 6:43 pm
Location: California, USA

Post by Erwin Coumans »

This to be precise, Bullet uses EPA by default, it give an exact penetration depth (within a given tolerance). Sampling method is an approximation.

Apart from SAT, which is also exact, other methods to approximate penetration depth include Dual-space Expansion

Benefit of EPA over SAT is that it support non-polyhedral convex objects like implicit cylinders & cones, convex sum of objects, minkowski sum etc.

Hope this helps,
Erwin