Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Camera controller can't handle very small sensitivities #26

Open
ThomasOrtner opened this issue Aug 19, 2019 · 0 comments
Open

Camera controller can't handle very small sensitivities #26

ThomasOrtner opened this issue Aug 19, 2019 · 0 comments

Comments

@ThomasOrtner
Copy link
Member

behavior

When using a very small navigation sensitivity, e.g. 10^-5, the mouse interactions zoom, pan, and wheel zoom do not move the camera, while keyboard movement works fine.

expected behavior

super accurate pan and zoom movements with arbitrarily small movement intervals

my setup

let sensitivity = -5.0
let config = { 
  cam'.freeFlyConfig with
    panMouseSensitivity       = exp(sensitivity) * 0.0025
    dollyMouseSensitivity     = exp(sensitivity) * 0.0025
    zoomMouseWheelSensitivity = exp(sensitivity) * 0.1
    moveSensitivity           = sensitivity
    lookAtMouseSensitivity    = 0.004
    lookAtDamping             = 50.0
    }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant