Collision detection using separate axis theorem,
Posted: Fri Nov 05, 2010 3:56 am
Hey all,
I just wanted to share a great little article which covers how to implement collision detection between rotated polygons, or in this case, rectangles in particular.
http://www.gamedev.net/reference/progra ... /page3.asp
It was recently incredibly useful to me and I thought somebody else might find it interesting. It's written to be specific to rectangles but the algorithm can easily be expanded to any sort of 2D Polygon by increasing the number of axes you test.
I just wanted to share a great little article which covers how to implement collision detection between rotated polygons, or in this case, rectangles in particular.
http://www.gamedev.net/reference/progra ... /page3.asp
It was recently incredibly useful to me and I thought somebody else might find it interesting. It's written to be specific to rectangles but the algorithm can easily be expanded to any sort of 2D Polygon by increasing the number of axes you test.