Skip to main content
100%

Gist 7d2dcc343f1204a9cc2385a893786dbe

✓ Published0🌍 Public
UUtopiah
Last edited May 20, 2020
Created on May 20, 2020

This example demonstrates how to load and position a 3D model from Sketchfab into a Mozilla Hubs Cloud room using the Hubs Cloud scripting template. The code creates an `<a-entity>` in an A-Frame scene, attaches a `media-loader` component to fetch the model, and sets a `networked` component with the `#interactable-media` template so it appears for all clients. Execution is gated by author, login status, and email regex, and the model is placed at coordinates (1,1,1).

AI-generated description

Similar vizzes