A 3D camera will be used to provide the first-person view needed in a VR experience. It will also be the origin point for our graphic Raycaster. Before implementing the new camera, we need to delete the existing Main Camera GameObject:
- Right-click the Main Camera item and choose Delete. Without a camera, Display 1 No camera rendering will be displayed in the Game window.
- Navigate to the Project/OVR/Prefab directory and locate the OVRCameraRig prefab. Drag the OVRCameraRig to the Player GameObject. The OVRCameraRig will appear as a sub-item to the Player.
- Move the camera (not the Player GameObject) to 0,0.5,0.
- Save the ShootingRange scene.