mirror of
https://github.com/bevyengine/bevy.git
synced 2026-05-09 15:40:03 -04:00
51a80d0a14
# Objective - Fixes https://github.com/bevyengine/bevy/issues/24141 ## Solution - Added Two additional keys (R & F) for local space Y velocity. - following the [Blender Walk/Fly Mode](https://docs.blender.org/manual/en/latest/editors/3dview/navigate/walk_fly.html) controls. - Added `FreeCamera::invert_world_local_control()` for alternative keybinds where Q/E is local Space instead, and R/F is world Space. - Some user probably more familiar with Q/E as local space up. - Updated Examples to resolve key conflict with scroll factor controls - from F/G to G/H Note: This is my first contribution. If there's anything I am missing please point it out :) ## Testing - Did you test these changes? If so, how? - I tested with `free_camera_controller` example - Are there any parts that need more testing? - Don't think so. - How can other people (reviewers) test your changes? Is there anything specific they need to know? - Don't think so. Straightforward change. - If relevant, what platforms did you test these changes on, and are there any important ones you can't test? - tested on Windows 11. It's not platform specific so should be ok. --------- Co-authored-by: Alice Cecile <alice.i.cecile@gmail.com>