Spectator Camera

๐Ÿ“˜

This feature requires the Immerse SDK Enterprise Edition

This is different to the free Immerse SDK. Contact [email protected] if you require access.

Understand the difference between the Free and Enterprise SDK

The spectator camera allows a session facilitator to control the position of the camera for all users during an experience.

Installing the Spectator Camera

The components are installed using the Unity Package Manager (in the same way as the other Immerse packages)

1810

Once installed, the first step in setting up the spectator camera is to designate the camera that should be controlled. This is done by adding the component to a camera in the scene (typically Main Camera). From this component you control how the camera behaves.

414

Spectator Camera Component

Description
Movement SpeedSets the speed in which the camera moves between targets
Angular SpeedSets the speed in which the camera rotates between target rotations
Transition CurveControls the acceleration/deceleration of the camera movement
Max DistanceWhen using 'Auto' mode, this sets the maximum distance the camera should be allowed to move before it will fall back to 'Instant' mode.
Raycast Layer MaskAuto mode uses raycasting to move instantly instead of moving through obstacles.
On Target ChangedAn event that is triggered when the camera target changes

Once you have added the spectator camera to your scene, the next step is to add some Camera Targets. When a Camera Target is enabled, disabled, created or destroyed, the list of available camera targets will automatically be updated, ordered by the Priority Comparer.


Related pages