void OnTriggerEnter(Collider other) { if (other.CompareTag("Player")) { cameraFollower.Rotate(rotation, distance, duration, pivotOffset, curve); } }