Start a new topic
Solved

Move 3D model

Hi, Can i ask why this model is not moving from one place to another, Here is the code: var animate1 = new AR.PropertyAnimation(model, 'translate.x',140,45,10000, {type: AR.CONST.EASING_CURVE_TYPE.EASE_IN_CIRC} ); var animate2 = new AR.PropertyAnimation(model, 'translate.y',60,45,10000, {type: AR.CONST.EASING_CURVE_TYPE.EASE_IN_CIRC}); var curveAnimation = new AR.AnimationGroup(AR.CONST.ANIMATION_GROUP_TYPE.PARALLEL, [animate1, animate2] ); World.animate1.start(-1); Thank you,

Hello Muna,


In order to have a better understanding of how the animation for 3D models on Geo location should work, I suggest you have a look at our following samples.


http://www.wikitude.com/external/doc/documentation/latest/android/solarsystemir.html#solar-system-ir


http://www.wikitude.com/external/doc/documentation/latest/android/solarsystemgeo.html#solar-system-geo


If you go through our documentation then you can find all the information you need in order to get started. 


Thanks

Eva

Hi Eva, What i want is moving 3D model on 2d target, i have used the code above, but still could not move the model, any help????? I will read the documentation again....

Hi Muna,


Have you added animation to your 3D model when creating it with our Encoder? If you read our documentation then you will be able to further understand.


Thanks

Eva

The problem have been solved, thank you.....
Login or Signup to post a comment