Author Topic: is possible to have onclick or doubleTab event to the model?  (Read 1923 times)

Offline penprakash

  • byte
  • *
  • Posts: 26
    • View Profile
Hi,

 is possible to handle the onclick or doubletab event for the model in android? or any other way i can handle that.

 Problem is when the user double click the model object, the associated video for the model object should play on the top of 3d model object.

Thanks & Regards,
Prakash V

Offline EgonOlsen

  • Administrator
  • quad
  • *****
  • Posts: 12295
    • View Profile
    • http://www.jpct.net

Offline penprakash

  • byte
  • *
  • Posts: 26
    • View Profile
Re: is possible to have onclick or doubleTab event to the model?
« Reply #2 on: July 18, 2013, 02:07:28 pm »
I have to know whether user clicked on the model/object instead of the screen.

Offline EgonOlsen

  • Administrator
  • quad
  • *****
  • Posts: 12295
    • View Profile
    • http://www.jpct.net
Re: is possible to have onclick or doubleTab event to the model?
« Reply #3 on: July 18, 2013, 02:21:18 pm »
Ok, but that has nothing to do with double or single tapping. For that, you can do picking based on the touch coordinates like described here: http://www.jpct.net/wiki/index.php/Picking#The_compatible_way