HoloFair SDK V4
  • 🛠️Welcome to HoloFair SDK
  • Development
    • ⚙️Initial Setup
      • Start Here
      • Setup Addressables
      • Updating HoloFair SDK in an existing project
      • Scenes & Layers
      • Portals
      • WorldSettings
      • Build & Upload Addressables
        • CloudFront
        • BunnyCDN
      • Pubish & Test your Metaverse
    • ⭐Features
      • Text
      • Respawn
      • Link
      • Image
      • Video
      • TalkZone
      • Emote
      • Timer
      • Add Force
      • Animated Objects
      • Special/VIP content
      • Localization
      • Timeline
      • Focus Point
      • REST API Integration
        • Serialized Variables
        • Smart String
      • Interaction Events
        • Use Cases for Interaction Events
      • Editing Values
      • Control Locker
    • ‼️Important
      • Format of 3D Assets
      • 🆔GUIDs
  • Guides
    • Custom User Authentication
Powered by GitBook
On this page
  • Player Spawn
  • Layers
  • Scene Loading
  1. Development
  2. Initial Setup

Scenes & Layers

This page explains what position player appears at, what numbers and their meaning have for HoloFair and how HoloFair loads scenes

PreviousUpdating HoloFair SDK in an existing projectNextPortals

Last updated 2 years ago

Player Spawn

In HoloFair, the Player Controller starts off at origin point (0,0,0) and faces the global forward vector. See the image below and note the orientation of the scene:

To have a clearer view of this point for your own scene, you can create a GameObject to see this point and work your scene around that.

Layers

HoloFair Player Controller is based on RigidBody controller and collides with everything, however movement possible only on layers number 3 and 6. So, make sure walkable colliders are on those layers.

Scene Loading

Next is about defining triggers boundaries and shapes which will act as portals that will trigger scene loading. HoloFair in general loads scene additively in queue manner, i.e. whatever first scene user triggered in, the same order they will appear on top of already loaded scenes. The same HoloFair does when user triggered scene unloading. More on how to set them up explore the next page about Portals.

⚙️
Currently selected gameObject is shown in the inspector. As you can see scene direction is set in way that when users appear in the scene their camera will face forward.