开发者

How to identify four sided polygon (not rectangle) collision detection?

开发者 https://www.devze.com 2022-12-26 14:24 出处:网络
I am 开发者_如何转开发developing 2D game for iPhone, for that I need to handle collision detection.

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

0

精彩评论

暂无评论...
验证码 换一张
取 消