Besides the included camera scripts any camera can be used – including the ones in the standard assets.
GameObject
as a child of vehicle root called Cameras (any name can be used). This will be a container for all the vehicle cameras - one camera for each viewpoint.Camera
(right click ⇒ Camera) and place it as a child of Cameras object.CameraFolow
, CameraMouseDrag
, CameraOnboard
.
CameraChanger
iterates over all the Camera
s in the VehicleCamera
s list and makes sure that only one camera is active at one time.
CameraChanger
component to the Cameras object. This should be an empty object that is a child of vehicle root.Auto Find Cameras
or manually assign cameras to the Vehicle Cameras
list. If Auto Find Cameras
is enabled it is important that all the cameras are placed as children of the object containing CameraChanger
script or otherwise they will not be auto-detected.C
(default value). Check Input Setup for more info.Camera
.VehicleCamera
.Camera
object and assign Target
that the camera will follow.VehicleCamera
.Camera
object and assign Target
that the camera will follow.Max Movement Offset = 0
) or as a driver camera with head movement (Max Movement Offset > 0
).