Author Topic: jPCT+Vuforia Start Animation with button click HELP !!!  (Read 1754 times)

Offline Minte

  • byte
  • *
  • Posts: 1
    • View Profile
jPCT+Vuforia Start Animation with button click HELP !!!
« on: November 11, 2014, 03:19:00 pm »
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 ?

Offline EgonOlsen

  • Administrator
  • quad
  • *****
  • Posts: 12295
    • View Profile
    • http://www.jpct.net
Re: jPCT+Vuforia Start Animation with button click HELP !!!
« Reply #1 on: November 11, 2014, 07:58:06 pm »
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!?