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
  • 4,075
  • 14
  • 62
  • 125

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,309
  • 3
  • 50
  • 91