I have a second camera in my scene, which is a top-down camera that I’ve added as a type of map overview camera. The camera is a child of the player game object. It works fine as long as the player is on level ground. Once the player begins to climb a hill, the top-down camera tilts at the same angle as the slope of the hill. I want the camera to always be looking straight down on the player, regardless of the terrain the player in on.
So, my question is how do I maintain the transform.Rotation of my second camera for the Z axis (which is the axis that points to my player) to be always looking straight down? I do not want the camera to tilt at all. I want it to be a straight down “bird’s eye” view.
Thank you for your help,
Calixto