问题
HI everybody, how can i carry out "collision detection" in my app,which just like this: http://www.gskinner.com/blog/assets/CDTest.swf
Give me some advices,,please..
回答1:
Have a look at CGRectContainsPoint
and CGRectIntersectsRect
.
来源:https://stackoverflow.com/questions/3584810/collision-detection