jPCT+Vuforia Start Animation with button click HELP !!!

Started by Minte, November 11, 2014, 03:19:00 PM

Previous topic - Next topic

Minte

Hello,
I'm working on a project in which I successfully integrated jPCT and Vuforia for Augmented reality application. The 3DS frame animation works fine when the Vuforia tracker finds the target. The animation starts immediately when the tracker finds the target because  i put my doAnim() method in onDrawFrame() function. What I need now is that I want the animation+audio to start with button click on the camera screen. Can you please suggest me how to do this ?

EgonOlsen

I don't get the actual problem. If you don't want the animation to start, then...just don't start the animation. Add your button to the camera view (or render it into the 3d view using one of the blit methods) and set some startAnimation-flag when it's clicked!?