I've been trying to Lerp my camera between multiple points in my game, but for some reason it jumps between the points I Lerp between:
My code:
Not Sure Why Camera Jumping
My code:
Code (CSharp):
- using System.Collections;
- using System.Collections.Generic;
- using UnityEngine;
- public class CameraSLERP : MonoBehaviour
- {
- [SerializeField] Transform cam;
- [SerializeField] OrbitCam orbitCam;
- [SerializeField] List<Transform> points;
- [SerializeField] float timeToWaitAtStart = 2f;...