LogoLogo
HomeDiscordVideo TutorialsBuilder Opportunities
  • Welcome to MONA
    • What is a Space?
    • Unity Overview
  • ⬛Create
    • Getting Started Building
    • MONA Crash Course
      • Setting up MONA in Unity
      • Introduction to Unity
      • Setting up Simple Assets
      • Metaverse / WebGL Limitations
      • Creating 3D Assets
      • Applying Materials & Unwrapping UVs
      • Importing Assets into Unity
      • Adding Colliders
      • Adding Lighting
      • Adding a Custom Skybox
      • Setting up Canvases
      • Uploading to your Wallet
    • Building Spaces
      • Space Limitations
      • Create your Space
        • Space Overview
        • Colliders
        • Materials
        • Portals
        • Canvases
        • Artifacts
        • Add a Custom Skybox
        • Test Your Space
        • Troubleshooting
      • Improve your Space
        • Lightmaps (Unity Lightmapper)
        • Light Probes
        • Reflection Probes
        • Animation in Unity
        • Importing Animation
        • Player Property Volumes (PPV's)
        • Warp Volumes
        • Adding Audio
        • VRM Switcher
        • Custom Canvases
        • Embedded Video
        • User Interface (UI)
        • Creating Custom Shaders
        • Imported Assets
        • Lightmaps (Bakery Asset)
      • Optimise your Space
        • Prefabs
        • 3D Asset Specs
        • Optimizing your Space
      • Adding Interactivity
        • Visual Scripting
          • Web Request Node
        • Mona Reactor
          • Creating Animation
          • Using Animator
          • The Reactor Component
          • Reactor Overview
      • MONA Tools
        • Template Utility
        • MONA Capture
        • Light Probe Generator
        • VOX Importer
      • Submit Your Space
        • Submitting your Space
        • Creating an Image & Video Preview
        • QA Process
        • Mint Your Space
      • Update your Space
      • Frequently Asked Questions
      • Troubleshooting
    • Creating Assets
      • Asset Requirements
      • 3D Asset Types
      • Asset Creation Approaches
      • Optimizing your Mesh
      • GLB Considerations
      • Example - Cyberpunk Car
    • Creating Avatars
      • Getting Started with VRM
      • VRM Requirements
      • VRM Creation
        • Using Mixamo for Rigging
        • Adding Custom Bones to the Rig (Optional)
      • Creating your Avatar using UniVRM
        • Importing UniVRM into Unity
        • Creating the VRM using UniVRM
        • Adding Spring Bones in UniVRM (Optional)
      • Creating your Avatar using 'VRM for Blender'
        • Adding 'VRM for Blender' into Blender
        • Using 'VRM for Blender' for Rigging
        • Adding a Material
        • Assigning VRM Details
        • Exporting the Avatar
      • Uploading your VRM
      • Using Avatars in WebAR
      • Submitting your VRM to the Mona Marketplace
      • Mint Your Avatar
      • Troubleshooting
    • Resources
      • MONA Claim Asset Requirements
      • Unity Wallet SDK (Alpha)
      • MONA Playground
      • MONA Tutorials
        • Retrowave Modules
      • Asset Resources
        • 3rd Party Assets
        • Textures
        • Shaders
        • 3D Assets
        • Audio
        • Tools
        • Tutorials
      • MONA Library
        • MONA Library Submission
      • Useful Unity Packages
      • Updating the Template SDK
      • Importing Mozilla Hubs Spaces to MONA
      • Importing AltspaceVR spaces to MONA
    • MONA Marketplace
  • ⬛Explore
    • How to Use MONA
    • Using VRM Avatars
    • Audio Settings
    • Explorer's Frequently Asked Questions
  • ⬛Collect
    • Setting up a wallet
      • Delegating a Wallet
    • Own a Space
      • Host an Event
      • Uploading your Images
      • Add Images to a Canvas
      • Live Music Feed
      • Token Gated Access
      • Minted 3rd Party Assets
    • MONA Create
      • Create FAQ
    • Live Streaming in MONA
      • Setting up OBS Studio
      • Livestream using OBS Studio
      • Livestream using a Mobile Device
      • How to Stream Using Twitch or YouTube
      • Add a Livestream to a Canvas
    • Collector's Frequently Asked Questions
  • General Resources
    • Web3 Introduction
    • How to sell Art in Web3
    • Game Dev Glossary
    • Buildathons / Challenges
      • 3D Asset Buildathon (Current)
        • Frequently Asked Questions
      • Emote/Emoji Challenge (Completed)
      • Stream Challenge (Completed)
      • Custom Avatars (Completed)
      • Build : NY Challenge (Completed)
      • Sculpture Challenge (Completed)
      • Portal Hub (Completed)
      • Interact (Completed)
      • The Renaissance (Completed)
Powered by GitBook
On this page
  • Editing Portals
  • Portal Colliders
  • Linking Portals

Was this helpful?

  1. Create
  2. Building Spaces
  3. Create your Space

Portals

This page goes over the details of Portals and how to set them up.

PreviousMaterialsNextCanvases

Last updated 9 months ago

Was this helpful?

A Portal is a gateway to other minted Spaces. It allows Spaces to be linked so visitors can explore spaces on the Mona network. Spaces do not require Portals, however.

Others can also link to your portals from their spaces, meaning they can decide to appear at a portal location rather than the default Spawnpoint.

You can find the 'PortalPrefab' in the '_MonaAssets' Folder in the Project Window. You can use this as is, but of course you can update the asset to look however you want.

  • A Minted space must have a Portal if you want another space to link to it.

  • The Portals scene has a Portals Gameobject/layer with an applied PortalLayer tag. Do NOT delete or move this scene or object. Do not rename or remove the PortalsLayer tag.

  • Portals are optional but allow you to link to other spaces or have other spaces link to your space exactly where you want.

  • The gameobject under the PortalPrefab object must have a unique name in your Space and have the 'Portal' tag applied. In the example below this is called 'UniquePortalName_1'.

  • The Portal tagged object needs to have a box collider for the Portal to be 'seen' by the avatar.

  • Ensure the Spawnpoint gizmo is not red and is in a logical position.

  • Do not cover the Portal tagged objects collider with other colliders. The user cannot interact with the Portal if there is another collider in front of it.

Editing Portals

The Portal Prefab consists of several child game objects.

  • First is the 'Portals' Gameobject/layer, which has the PortalLayer tag. Do NOT delete or rename this object. Do not remove or rename the tag.

  • Under that is each Portal gameobject/prefab. The name of this gameobject is up to you. Each portal is a unique Portal prefab, do NOT put multiple portals under one PortalPrefab. This object has the 'Untagged' tag.

  • Under that is a GameObject that must have a unique name and a Portal Tag and requires a box collider. The collider is needed so the player avatar can 'see' the object to interact with it. Using a name representing the location is recommended for others to understand where the users will appear easily.

  • A SpawnPoint must be included and has the Spawnpoint tag. When another space links to the space, they can choose which portal they spawn from. This is where they spawn. Name your Portals well so others know where a player will appear in your space. The Portal Spawnpoint avatar gizmo needs to be green. If it is red, it is in a location that overlaps another collider or not above a collider to land on (which will fail QA).

  • The Assets gameobject holds the assets that visually represent your Portal in the scene, such as a door or portal, or anything else. These can have colliders on them, so Players can't run through them but make sure they do not override the main 'Portal' tagged object. The Portal does not need to have gameobjects in the Assets folder to function.

Portal Colliders

As noted, make sure that the assets that make up the visible Portal do not have colliders in front of, or overlapping, the main Portal object with the 'Portal' tag. This Portal tagged object collider is what is used for the user to 'see' the portal itself.

Do not cover the Portal tagged objects collider with other colliders. The user cannot interact with the Portal if there is another collider in front of it.

Linking Portals

Assigning the Portal destination is done after you have uploaded the space to your wallet draft. You can select from any space that has been minted on the Mona platform. If your space has not been minted, it will not be accessible through the Portal system.

Make sure to set your Portal name to something useful so others can link to them easily.

As Owners can set their portal destinations to any space individually, a portal will not automatically link back to your space.

If you want to create a networked group of Spaces, such as a hub, it is a good idea to discuss linking with the target destination Space owner so that people can return to your space through the same portal. You will need to note which portals to arrive at from both spaces.

If you change the Unique Name object of a Portal, Artifact, or Canvas, all of these links will be reset. Keep that in mind when setting up your space.

⬛
Portals Video
The Portals Hierarchy
Connecting a Portal