So I am trying to rotate my camera up and down on the x axis. Here is my code
transform.Translate(Vector3.up * Time.deltaTime * speed * verticalInput);
Transform.Translate() translates the transform. It doesn’t rotate it. (Translation just means “move” basically)
Have you tried Transform.RotateAround? Unity - Scripting API: Transform.RotateAround