Skip to content

FreeCam: disabling the free cam while the mouse is captured prevents user from freeing mouse again. #21482

@janis-bhm

Description

@janis-bhm

Bevy version and features

main @ abdf657ef, free_cam feature

What you did

I added a keybind to toggle the FreeCam's enabled field.

What went wrong

When pressing the keybinding while the mouse is captured (either by holding LMB or pressing M), the mouse remains captured and the only way to free it is to re-enable the free cam and then press M or tap LMB again.

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