How do I access the transform rotation axis for looking up/down. I can’t find that anywhere in the docs or help resources. I need my first person Javascript to slowly force an upward or downward look.
Tilting the camera up or down is a rotation around transform.right
transform.rotation = Quaternion.AngleAxis(someNumberOfDegrees,
transform.right) * transform.rotation;