(Last updated 21/07/2018)

The Spectator holds different scripts that will handle the spectator's cameras. You will find some scripts for different camera behavior for the spectator.

Package Overview

Simulator

Scripts

VRT_DisableObjectForSpectator.cs : Disable the object linked or the gameobject this script is on

VRT_RotatingCamera.cs : Enable the camera to rotate around a point (lookAt)

VRT_SpectatorCameraManager.cs : The Camera Manager is used for the spectator mode, and handle all the different cameras in its child component. You need to add a camera in the camera prefab to be able to use it in the spectator mode, the manager will automatically retrieve the different cameras in this gameobject

VRT_TravellingCamera.cs : Script to be put on a camera to create a travelling effect between "from" and "to" positions

VRTrackerPlayerCamera.cs : **Attach the script to the player prefab, the camera will follow the player

To be completed...