Camera Pitch limit


just a quick question regarding camera movement:

The default behaviour of the camera prevents pitching through nadir to prevent viewing the globe “upsidedown”. That behaviour is fine!
But is there a method (besides editing the source code) to limit the pitching to like -85°?

I am asking because I created a compas, which freaks out, if the pitch is at -90°.

Best, Lennart


Thank you for bringing your question to our community forum! Our API does support limiting the Camera pitch. I suggest taking a look at the following community forum threads for details on the implementation.

Let me know if you have any other questions or concerns!


1 Like

Hi @sam.rothstein,
sorry for the late response, had some other things to do the last days. I will have a look at the linked threads. Thank you for linking!


You are welcome! Please keep me posted.