SAT experimentation

SAT (Separation of Axis Theorem) is a way of detecting collisions between polygonal objects, that it both fast and highly accurate. It’s a common system for 2D collision detection, and can be found in library’s such as Box2d.

This is a subject I’ve been wanting to explore for a while now, and finally found time this past weekend. So far my implementation only supports polygon vs polygon collisions. I’ll share the code once I dig a little deeper, and hopefully go into deeper explanations of the subject and source code, as I’ve have not found many decent explanations, especially from a AS point of view.

Next steps will be to add circular collisions, and work out some rotation bugs (not seen here) in the current build.


Physics, AS3


Comment functionality has been disabled. Contact me on Twitter.

mirux said:

Nice stuff Tyler.

Grarrique said:

Thank you!


Browse All >