1

I have created a OpenGL view with 6 different objects. Is there a way to make these objects clickable and call a method as any other UIControl in iOS?

If so how is this done?

JavaCake
  • 3,845
  • 10
  • 53
  • 115

1 Answers1

2

This has been answered before on SO:

iphone-opengl-es-detecting-if-you-have-tapped-a-object-cube-on-screen

iphone-openggl-es-detecting-clicks-on-a-primitive

I got to these by googling "ios openGL ES click on object"

Community
  • 1
  • 1
Peter M
  • 7,145
  • 3
  • 45
  • 86