Skip to content

FreeCam: using the scroll wheel can stick speed to 0 #21483

@janis-bhm

Description

@janis-bhm

Bevy version and features

main @ abdf657ef, free_cam feature

What you did

I used the scroll wheel to adjust the speed of the camera.

What went wrong

When I scroll a lot towards zero, the speed may eventually get stuck at 0 and no amount of scrolling "up" will get it unstuck.
a scroll_factor of > 1.0 also exhibits strange behaviour, resulting in negative speed and unexpected sign flipping.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-CameraUser-facing camera APIs and controllers.A-Dev-ToolsTools used to debug Bevy applications.C-BugAn unexpected or incorrect behaviorD-StraightforwardSimple bug fixes and API improvements, docs, test and examplesS-Ready-For-ImplementationThis issue is ready for an implementation PR. Go for it!

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions