Opengl Iphone SDK: How to tell if you're touching an object on screen?
- by TheGambler
First is my touchesBegan function and then the struct that stores the values for my object. I have an array of these objects and I'm trying to figure out when I touch the screen if I'm touching an object on the screen.
I don't know if I need to do this by iterating through all my objects and figure out if I'm touching an object that way or maybe…