Limiting Camera Tilting
See original GitHub issueThis 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.
Issue Analytics
- State:
- Created 2 years ago
- Reactions:2
- Comments:7 (4 by maintainers)
Top GitHub Comments
@robmilton At this time it doesn’t seem like we’ll be able to get to this in the near future, but we have this and other Camera fixes in mind for when we get a chance to work on them.
This would be a really welcome feature.
My thinking is that it would a property called
minimumTiltAngle
inScreenSpaceCameraController
. The implementation would be almost completely be inScreenSpaceCameraController
instead ofCamera
.