The camera is only allowed to rotate left and right.

how to allow the camera to rotate only left and right during mouse operation, and forbid the camera to rotate up and down.

Mar.11,2021

you may need to monitor the camera event yourself to determine whether to proceed with the next operation based on the parameters. The default roaming behavior can be disabled, but it is not subdivided up and down and rotated left and right:
https://codeshelper.com/a/11.

Menu