I need some help with the perspective camera. How do I lerp or move it to focus on my player object in different Z position while Z position of the camera remain the same?
How to lerp Perspective Camera to focus on an object in different Z position while Z position of the camera remain the same?
If you take a look at the sample scenes in the free unity standard assets, there is one where a car drives on a predetermined course, and the stationary camera follows and focuses on it. I think it’s called a cctv camera script? Anyway, that sounds like what you want.