Digital Twin Fundamentals

This step-by-step guide walks you through the setup for using the panoramic FPS controller in Unity for display at the CRAIVE-Lab.

Before you begin...

Here is a list of things you should have on your computer:

  1. A Unity scene with some ground-like surfaces attached with MeshCollider; and

  2. The CRAIVE-Lab Special Assets package for Unity.

You should also have the following packages installed in your Unity project:

Packages
Recommended Minimum Version

Universal Render Pipeline (Universal RP)

14.0

Shader Graph

14.0

Cinemachine

3.0

Input System

1.10

The usage of this controller is very similar to Unity's own Starter Assets: First-Person Controller. It is as simple as drag-and-drop.

Step 1

Import the special asset package to your Unity project. You should then see the following in your Assets folder.

Collapsed view of the Assets folder with prefabs after the ROIS_FPS package is imported.

Step 2

In the Assets folder, under C01_FPS --> Prefabs, drag the ROIS_FPS01 prefab into your scene. Place it anywhere you desire, as long as the location you choose is above a ground surface.

The ROIS_FPS02 prefab corresponds to the First-Person Controller we can use in EMPAC's Cognitive Immersive Room (CIR) at Studio 2. The CRAIVE-Lab can theoretically also interface with this prefab.

Step 3

Hit play and enjoy! Use WASD keys and arrow keys to control your movement. Use the mouse to control where you look.

In Scene view, you should be able to see the spatial footprint of the CRAIVE-Lab moving about in the virtual space. This footprint is set up in a separate rendering layer where the camera will not render it, so you will not be able to see it in the Game view and in your build. If you want all environmental assets to render with realistic proximities (i.e., not showing up on the panoramic display when you get to a certain distance from it), you can select all cameras in ROIS_PCAM, and change their Near Clipping Plane collectively to 6.0.

Last updated