Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- this.modelCar = new AR.Model("assets/car.wt3", {
- onLoaded: World.showInfoBar,
- onError: World.onError,
- zOrder: 1,
- scale: {
- x: 0.045,
- y: 0.045,
- z: 0.045
- },
- translate: {
- x: 0.0,
- y: 0.05,
- z: 0.0
- },
- rotate: {
- z: -25
- }
- });
- this.trackable = new AR.ImageTrackable(this.tracker, "*", {
- drawables: {
- cam: [this.modelCar]
- },
- onImageRecognized: World.hideInfoBar,
- onError: World.onError
- });
Add Comment
Please, Sign In to add comment