Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <html>
- <head>
- <script src="./externals/aframe.js"></script>
- <script sc="./externals/socket.io.js"></script>
- <script src="./app.js"></script>
- </head>
- <body>
- <a-scene>
- <a-assets>
- <a-asset-item id="robot-obj" src="./models/robot.obj"></a-asset-item>
- <a-asset-item id="robot-mtl" src="./models/robot.mtl"></a-asset-item>
- </a-assets>
- <a-entity obj-model="obj: #robot-obj; mtl: #robot-mtl" scale: "0.1 0.1 0.1" position: "0 0 -4"></a-entity>
- </a-scene>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement