Expose camera controller maximum rotation rate
- Dominant language
- JavaScript
- Stars
- 15.7k
- Forks
- 3.9k
- Avg merge
- 4d 6h
- Merged PRs (30d)
- 34
Description
Related to https://github.com/CesiumGS/cesium/issues/7978 and also pointed out [in the forums](https://community.cesium.com/t/camera-controller-sensitivity/9115) that we don't have a way to adjust the camera's rotation rate without using a private member.
`_maximumRotateRate` can be adjusted to constrain the camera rotate rates: https://github.com/CesiumGS/cesium/blob/32fc04d9e7e3b26e78ca1ca4b607091846a68c1e/Source/Scene/ScreenSpaceCameraController.js#L307 it would be helpful to make it public so that users can tweak their rotation rates to better fit the types of maps and ranges that users are dealing with.
Contributor guide
Research direction
Start in Source/Scene/ScreenSpaceCameraController.js around _maximumRotateRate and compare nearby public camera-controller settings. Done means users can adjust the maximum rotation rate through the supported public API instead of a private member, while preserving the existing camera behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 35/100