I am developing 2D game for iPhone, for that I need to handle collision detection.
My need is: I have two polygons, each is a four-sided polygon (not a rectangle), I need to check whether they are collided or not.
I am developing 2D game for iPhone, for that I need to handle collision detection.
My need is: I have two polygons, each is a four-sided polygon (not a rectangle), I need to check whether they are collided or not.
See a good tutorial at CodeProject: http://www.codeproject.com/KB/GDI-plus/PolygonCollision.aspx