I want to move an object to a specific point on the screen. (Specifically, wherever the user touches, barring any collisions that may interfere.) What OpenGL ES call am 开发者_如何学JAVAI supposed to use for this?
You need to use a equivalent method of gluUnProject, which transforms from screen coordinates to world coordinates. There is one implementation specific to iPhone here.
Basically, it uses the modelview and projection matrices to do the transformation.
精彩评论