nmfisher / flutter_filament

3D rendering layer for Flutter/Filament
Other
44 stars 7 forks source link

Camera sensitivity #7

Closed nmfisher closed 2 months ago

nmfisher commented 7 months ago

We should be able to set the rotate/zoom/pan sensitivity for the mouse/finger gestures.

LukasPoque commented 6 months ago

This would be a very useful feature. Maybe the sensitivity could be updated even dynamically through the scene (this could be useful for different use cases, for example, if the model is really big / the cam is far away, the zoom should be faster than nearby).

nmfisher commented 2 months ago

setCameraManipulatorOptions is now available to set the speed. With this, users can implement their own version of dynamic sensitivity (because there's no intrinsic concept of "far" or "big", it depends on the scene, so the developer is best placed to figure out how to scale).