Skip to content

Camera controller can't handle very small sensitivities #26

@ThomasOrtner

Description

@ThomasOrtner

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
    }

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions