Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <html>
- <head>
- <meta aframe-injected="" name="viewport"
- content="width=device-width,initial-scale=1,maximum-scale=1,shrink-to-fit=no,user-scalable=no,minimal-ui">
- <meta name="apple-mobile-web-app-capable" content="yes">
- <script src="https://aframe.io/releases/0.6.0/aframe.min.js"></script>
- <script src="https://jeromeetienne.github.io/AR.js/aframe/build/aframe-ar.js"></script>
- </head>
- <body>
- <a-scene embedded arjs>
- <a-assets>
- <a-asset-item id="drone" src="busterDrone/busterDrone.gltf"></a-asset-item>
- </a-assets>
- <a-marker preset="hiro">
- <!--why doesn't this work?-->
- <a-entity gltf-model="#drone"></a-entity>
- </a-marker>
- </a-scene>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement