"We offer new support options and therefor the forums are now in read-only mode! Please check out our Support Center for more information." - Vuforia Engine Team

Add Motion Path

Hi, I just got the rotating on my cube to work. Now I want to add a motion path to my cube. For example, move down from the top to the bottom, then do a curve to the left. Has anyone done something similar or has some tips how to do this? Then I have a question about starting and stopping animations. I implemented two different UIs to my Android project. One UI with one button appears if an image is tracked. Now I want to add a start animation method to this button. To send the state of my Ui-button to the c++-script is no problem but how can I change the state of the animation of an object. Any Ideas?

Hey guys, I have now a first result. [CODE]void animatePath(QCAR::Matrix44F& modelViewMatrix) { static float translateCubeX = 50.0f; static float translateCubeY = 0.0f; //boolean checkMovement = true //while(checkMovement){ //static double prevTimeMovement = getCurrentTime(); //double timeMovem

Hi, finally I made a little motion path. [CODE]void animatePath(QCAR::Matrix44F& modelViewMatrix) { //while(checkMovement){ switch(checkMovementState){ case moveXAxe: if(translateCubeX < 150.0f) { translateCubeX = translateCubeX + 1.0f; SampleUtils::translatePoseMatrix(translateCubeX,