World Portals

To hop between worlds you can use objects as portals to open new scenes. Examples of this might be a door which opens a new world or a text link. When the object which used is clicked, the world is opened.

let portal = WorldPortal(object, worldID);

You can also spawn a portal without an object, which by default shows a hovering plane with the world's name:

let defaultPortal = WorldPortal(null, worldID, worldName, iconMaterial);