328 Chapter 13 Generating Contacts
13.5 Coherence
The most efficient algorithms we’v e seen for calculating the collision between convex
polyhedra all generate at most a single collision. As we saw at the start of this chapter,
this isn’t ideal for physical simulation. To get good results from our collision detector,
we’ll need to extend it.
Several developers I know have built their own custom versions of the SAT, GJK, or
V-Clip algorithms that can generate more than one contact. But there isn’t a standard
way of doing it. In the SAT algorithm, for example, we can take multiple separating
axes and use them as the basis of multiple contacts. But we have to be careful —other
than the axis w ith the least interpenetration, we can’t guarantee that oth ...