Separating Axis Theorem (SAT) is a technique for calculating collisions between convex polygons.
I’m by no means an expert on it, but after the need arose for me to do some collision detection I did a pile of reading and finally got it working in ActionScript 3.
I thought I would share what I learned in the hope others wouldn’t suffer so much