Adding a 3D camera

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:

  1. Right-click the Main Camera item and choose Delete. Without a camera, Display 1 No camera rendering will be displayed in the Game window.
  2. 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.
  3. Move the camera (not the Player GameObject) to 0,0.5,0.
  4. Save the ShootingRange scene.
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.17.166.233