Start a new topic
Solved

Simple Animation Not Working

I have a vertex animation that plays fine in the 3D encoder and am trying to test it playing in app. The model appears fine but no animation plays. 


I'm also not getting the debugger icon on screen. 


My javascript knowledge is limited and I'm frankensteining code so any help is appreciated. 




<html>

 

 <head>

  <script src="architect://architect.js"></script>

 </head>

 

 <body>

 </body>

 

 <script>

 

  var tracker = new AR.ClientTracker("tracker.wtc");

 

  //var circle = new AR.Circle(0.5);

 

  var popWords = new AR.Model("leightonName_animation_02.wt3", {

   scale: {

    x: .03,

    y: .03,

    z: .03

   }

  });

 

  var popWordsAnim = new AR.ModelAnimation(popWords, "C4D Animation Take");

 

 

  var pageOne = new AR.Trackable2DObject(tracker, "*", {

   drawables: {

    cam: popWords

   }

  });

 

  popWordsAnim.start(-1);

 

  AR.logger.activateDebugMode;

 

 </script>

 

</html>

1 Comment

Hello Matt,


Since you are a beginner and in order to have a better understanding of how the animation for 3D models should work, I suggest you have a look at our following samples.


http://www.wikitude.com/external/doc/documentation/latest/android/3dmodels.html#appearinganimation


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


Thanks

Eva

Login or Signup to post a comment