Description
This issue stems from the following community forum post: https://community.cesium.com/t/how-to-limit-tilt/14459
There has been a significant history of community forum questions/complaints related to camera functionality in CesiumJS. Limiting the camera tilt can help prevent users from ending up "underground" or getting lost in the scene by moving the mouse rapidly to tilt the camera to view both extremes (+90 degrees, -90 degrees). Adding an additional function called limitTilt()
to the Camera
object may make sense, although other suggestions are welcome.
In offline discussion, both @lilleyse and @ebogo1 seem to support this feature as well. Here is a sandcastle demo that showcases how this feature might perform:
While this demo is not perfect, it should give readers an idea of what we are looking for.