Get the latest tech news

Speeding up the separating axis test using inscribed spheres


The separating axis test (SAT) works well for computing contact manifolds. Unlike GJK, it is robust when shapes are very close together and it works when shapes are overlapped. Box3D uses SAT for computing the contact manifolds between convex hulls (polytopes). I like using SAT because I can get all the contact points at once and it doesn’t need a fallback algorithm for overlap like GJK does. So I don’t need to waste time calling GJK only to have it fail and then drop to a fallback algorithm like EPA or SAT.

None

Get the Android app

Or read this on Hacker News

Read more on:

Photo of inscribed spheres

inscribed spheres

Photo of separating axis test

separating axis test