Explore with Virtual Reality

Allows users to explore a city/map from the first person perspective using Virtual Reality.

Image of Virtual Reality Sample

How to use the sample

  1. Prior to opening the project, ensure your VR headset is connected and any required software is running (SteamVR, Oculus, Vive Streaming Hub).
  2. Open the VRSample_lvl level.
  3. Click on the ArcGISMapActor in the Outliner panel.
  4. Set your API key under th Authentication section in the Details panel.
  5. If the play mode is not set to VR Preview, click on the 3 dots and select VR Preview, otherwise just hit play.

How it works

  1. Set up ArcGIS Map for the exploration area.
  2. Create a Virtual Reality Character or use the one we provide.
  3. Create a blueprint called Follow Camera and open it.
  4. Add an ArcGISCamera and an ArcGISLocation Component to the blueprint.
  5. Using the blueprints Tick Function, create a function that allows the Follow Camera Blueprint to follow the Virtual Reality Character. This is used for rendering the ArcGISMap Component and any layers you may have added.
  6. Add the Virtual Reality Character to the level.
    • Mesh colliders need to be enabled in the ArcGIS Map Component.
    • If you want to place the character on a specific location, use the ArcGIS Location Component to specify its location.
    • Adjust the Z Location value of the character to be above the location you would like it at.

About the data

Building models for San Francisco are loaded from a 3D object scene layer hosted by Esri.

Integrated mesh layer for Girona, Spain is loaded from Integrated Mesh Layer hosted by Esri.

Building model for Christchurch, New Zealand is loaded from a Building Scene Layer hosted by Esri.

Building models for New York are loaded from a 3D object scene layer hosted by Esri.

Elevation data is loaded from the Terrain 3D elevation layer hosted by Esri.


exploration, third person perspective, third person controller

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.