This guide explains how to configure and use the CameraController script to manage multiple Cinemachine virtual cameras, implement camera shake, and dynamically adjust the field of view (FOV) based on bike speed in Unity.

Public Variables Explained

  1. cameras:
  2. bikeController:
  3. speedThresholdForShake:
  4. shakeAmplitude:
  5. shakeFrequency:
  6. switchCameraKey:
  7. minFOV:
  8. maxFOV:
  9. FOV_smoother:

How to Use the Camera Controller

1. Assign the Script

2. Configure Public Variables