The question is exactly the same as the title: How can I analyze whether my camera is looking up/down? :)
A bit of explanation: I am writing a script that handles both 3rd and 1st person view, and now got stuck at the point where I want setting a cap to prevent the view from turning around vertically.
For this I made an "if... elif... elif..." statement. The first branch tests, whether the sight is between the caps, and if so, then lets the user move the view. So after that, I need to check which direction the user wants to move the view, plus which direction is it stuck to. These do for the 2 other branches.
So this is why I'd need your help.
Awaiting your answers :)