开发者

Collision detection with opengl es and android

开发者 https://www.devze.com 2023-02-07 05:42 出处:网络
I have been following the tutorials at http://blog.jayway.com/2010/01/01/opengl-es-tutorial-for-android-%E2%80%93-part-iii-%E2%80%93-transformations/ and I was wondering how I would go about implement

I have been following the tutorials at http://blog.jayway.com/2010/01/01/opengl-es-tutorial-for-android-%E2%80%93-part-iii-%E2%80%93-transformations/ and I was wondering how I would go about implementing some 2d collision detection. I curr开发者_StackOverflow社区ently have 2 objects displayed on screen (1 of which is movable). How would I check if these objects intersect before I apply the movement?

0

精彩评论

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