If you want your camera to follow your character (like in an RPG) it's easiest to create a gameobject called 'CameraTarget' and child it to your character. Move the target behind the character as far as you'd like your camera to be and then Lerp the camera towards that target. While lerping, you'll need to make sure your camera targets the character. (Use .LookAt)
↧