I have a camera script that follows my player, but whenever the player rotates the player’s transform.position
values also change. This is causing my camera to translate slightly while the player rotates. What I want is my camera to follow my player without taking rotation into the equation. I have tried setting my rotation to 0 and then grabbing the player.transform.position
values, but that does not work either.
Attached is the Camera Follow Script. Any help would be greatly appreciated