Camera Pitch limit

Hi,

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

@lennart.imberg

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!

-Sam

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!

@lennart.imberg

You are welcome! Please keep me posted.

-Sam