# 3D Scene

3D Scenes allow viewers/players to roam freely within a space using **WASD** and **Arrow keys \[← → ↑ ↓]**. This is similar to walking, visiting and interacting with different parts of a room. You can also jump using the **SPACE** key on desktop devices.

{% embed url="<https://rxhhkr.gmetri.com/eventsMetaverse>" %}
Click on Start to expereince the 3D Scene
{% endembed %}

## Properties of a 3D scene

The properties panel in a 3D scene provides multiple options to adjust an element or an item in an experience.

<figure><img src="https://2186043722-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Mgll1jjQMRTVj7p6n7g%2Fuploads%2FJsgnAjbNfSo9xqEwoJHm%2Fimage.png?alt=media&#x26;token=a45caf32-482f-48c1-9adc-26fe366bc6b9" alt=""><figcaption><p>3D Scene Properties</p></figcaption></figure>

### View

* **Yaw** - It refers to the rotation of a virtual camera around its vertical axis. It is typically used to control the left and right movement of the camera, allowing the user to look around the experience
* **Reset Rotation** - By selecting this option, the user can reset the camera to its default position if the scene in an experience is set at a specific angle. This feature is especially useful in experiences with multiple scenes, as it allows the user to easily reset the camera's position in each scene.
* **Allow Zooming** - This will allow your viewers to control the zoom function for your experience.

<figure><img src="https://2186043722-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Mgll1jjQMRTVj7p6n7g%2Fuploads%2FbgI0aHg9ODk50B7mPPdn%2Fimage.png?alt=media&#x26;token=f472d462-8dfb-4190-b60b-8dc6b49d0f96" alt=""><figcaption><p>Zoom</p></figcaption></figure>

* **Enable Collisions -** When Enable Collisions is turned on, virtual objects can collide with each other, resulting in realistic responses such as bouncing or sliding off each other.

* **Viewer Height -** This refers to the height from which a viewer will observe the experience. \
  Viewer height feature can be accessed on desktop and laptop devices, but unavailable for VR.

* **Spawn Zone** -  It is a starting point for new users entering an experience. It is a designated area within an experience where avatars or objects are initially placed when they are created.\
  \
  From the drop-down menu, you can select a zone of your choice and designate it as a Spawn zone.

* **Bounds -** From this section, you can make modifications or adjustments to the bounds of the scene.

### Advanced

* **Environment Map -** You can select different types of environment maps from the drop down.&#x20;

<figure><img src="https://2186043722-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Mgll1jjQMRTVj7p6n7g%2Fuploads%2FG9A2TYrESSZycJZAttnF%2Fimage.png?alt=media&#x26;token=e8d82d04-310b-4cd2-b9c4-35aba04e4cb7" alt=""><figcaption><p>Environment Map</p></figcaption></figure>

* **Selective Bloom -** Selective bloom is a visual effect in an experience that highlights certain areas of the virtual environment with a glowing or blooming effect.

## How can I add a new 3D Scene?​ <a href="#id-3d-scene-setup-with-collisions" id="id-3d-scene-setup-with-collisions"></a>

From the editor, add a new 3D scene by going to `Add Element > Scene > 3D Scene`. This also inserts a few default elements that are helpful in scene setup.

* **Pano** - A background for the entire scene
* **Environment** - A 3D model that will serve as the space for our scene. This can be replaced by selecting another 3D model from the file manager and adjusting positioning and scale to match life-size scale
* **Zone** - A spawn zone from where all the player will enter this scene. This can be moved around the scene to enable players entering the room from different locations.
* **Lights** - A default light setup to make the scene look good.

  ![](https://s.vrgmetri.com/image/q_90/gb-web/portal-docs/assets/img/screenshots/3D_scene/3D_scene_default_elements.png#boxShadow)

To add a new collider, add a new **Collider Volume** element.

* Align the element with one of the walls in the middle and adjust the scale.

From the Scene Properties, adjust the \`Scene Bounds\` to confine player movement within a space. This is automatically configured for the default environment that comes with every new 3D scene.&#x20;

## Concepts

### Avatars

Your digital representation in the Metaverse is called an Avatar. [avatar-system](https://docs.gmetri.com/metaverse/build/scenes/3d-scene/avatar-system "mention")

### **Colliders**

#### How do we prevent viewers from walking into walls/objects?

You can control the spaces where a user walks using colliders. [#colliders](#colliders "mention")

### **Zones**

Zones allow you to define interactive areas in a scene. [#zones](#zones "mention")

### Lights

Control the illumination of your Scene using lights. [#lights](#lights "mention")

### **Multiplayer Mode**

To collaborate with other people in your metaverse, you can use multiplayer mode. [multiplayer](https://docs.gmetri.com/metaverse/multiplayer "mention")

### Camera Modes

Control how you move in the editor. [#camera-mode](https://docs.gmetri.com/metaverse/editor/viewport_properties#camera-mode "mention")
