www.jpct.net

jPCT-AE - a 3d engine for Android => Support => Topic started by: penprakash on July 18, 2013, 12:21:39 PM

Title: is possible to have onclick or doubleTab event to the model?
Post by: penprakash on July 18, 2013, 12:21:39 PM
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
Title: Re: is possible to have onclick or doubleTab event to the model?
Post by: EgonOlsen on July 18, 2013, 01:48:02 PM
http://lmgtfy.com/?q=android+double+tap (http://lmgtfy.com/?q=android+double+tap)... ???
Title: Re: is possible to have onclick or doubleTab event to the model?
Post by: penprakash on July 18, 2013, 02:07:28 PM
I have to know whether user clicked on the model/object instead of the screen.
Title: Re: is possible to have onclick or doubleTab event to the model?
Post by: EgonOlsen 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 (http://www.jpct.net/wiki/index.php/Picking#The_compatible_way)