Quantcast
Channel: Unity Forum
Viewing all articles
Browse latest Browse all 1466670

Not Sure Why Camera Jumping

$
0
0
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:
Code (CSharp):
  1. using System.Collections;
  2. using System.Collections.Generic;
  3. using UnityEngine;
  4.  
  5. public class CameraSLERP : MonoBehaviour
  6. {
  7.     [SerializeField] Transform cam;
  8.  
  9.     [SerializeField] OrbitCam orbitCam;
  10.  
  11.     [SerializeField] List<Transform> points;
  12.  
  13.     [SerializeField] float timeToWaitAtStart = 2f;...
Not Sure Why Camera Jumping

Viewing all articles
Browse latest Browse all 1466670

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>