I would like to be able to limit the tilt. Using a mouse we can easily and consistently end up “under ground” or get “lost” in the scene by clicking on the globe and moving the mouse to tilt the scene to both extremes (+/- 90 degrees) repeatedly. The severity of the problem caused in the scene depends on the zoom level.
I’ve read through numerous posts regarding this issue, but I haven’t found a method that addresses the problem.
I do see several references to using a constrainedAxis, but I’m not sure how to implement this. The “setReferenceFrame” function in the Sandcastle Camera demo constrains the axis but also locks the scene to a particular position.
It seems that if I could limit the tilt to just less than +/- 90 degrees it might prevent this issue.
Is there a way to do this without having to modify Cesium’s source code?