google / model-viewer

Easily display interactive 3D models on the web and in AR!
https://modelviewer.dev
Apache License 2.0
6.84k stars 807 forks source link

Add zoom sensitivity and pan sensitivity attributes #4412

Closed nicolas-daures closed 1 year ago

nicolas-daures commented 1 year ago

Fixes https://github.com/google/model-viewer/discussions/4401

When the distance between the minimum radius and the maximum radius is big, the mousewheel zooms too much. Exposing the zoom-sensitivity and pan-sensitivity attributes would allow for better control.