Guest User

Untitled

a guest
Dec 27th, 2018
258
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.         this.modelCar = new AR.Model("assets/car.wt3", {
  2.             onLoaded: World.showInfoBar,
  3.             onError: World.onError,
  4.             zOrder: 1,
  5.             scale: {
  6.                 x: 0.045,
  7.                 y: 0.045,
  8.                 z: 0.045
  9.             },
  10.             translate: {
  11.                 x: 0.0,
  12.                 y: 0.05,
  13.                 z: 0.0
  14.             },
  15.             rotate: {
  16.                 z: -25
  17.             }
  18.         });
  19.  
  20.         this.trackable = new AR.ImageTrackable(this.tracker, "*", {
  21.             drawables: {
  22.                 cam: [this.modelCar]
  23.             },
  24.             onImageRecognized: World.hideInfoBar,
  25.             onError: World.onError
  26.         });
Add Comment
Please, Sign In to add comment