Hello Everyone,
I have been studying the 3rd Person Platform tutorial, and I am trying to understand how the camera set up works in the game.
In particular, I have been removing chunks of code trying to isolate the part that tells the camera to distance itself from the character. I would like to eventually create a camera set up in the same vein as Resident Evil and Silent Hill where the camera follows directly behind the player, but it allows the player to turn and face the camera and move toward it with the camera continuing to keep its distance.
I understand that vectors and rays can be used in the code to keep the camera at a certain distance, and they can be used as triggers, but I am unsure of this because I am new to Unity and scripting.
Could some one point out in the 3rd Person Platform scripts where the player and camera effect is taking place and explain it?
Thank you.