Changed mouse grab button from Left to Right for FreeCamera#22953
Changed mouse grab button from Left to Right for FreeCamera#22953Breakdown-Dog wants to merge 2 commits intobevyengine:mainfrom
FreeCamera#22953Conversation
mgi388
left a comment
There was a problem hiding this comment.
All the uses of this controller in my code also change this to mouse_key_cursor_grab: MouseButton::Right, so leaving an approval as someone who also experienced this friction.
There was a problem hiding this comment.
I will click approve for correctness (I tested it out and it works as expected), but I do want to note for Mac trackpad users like myself:
The “scroll” gesture is done with two fingers, and the “right mouse click” gesture is done with two fingers and a button press. With this new default setting, it can be trickier to do the cursor grab without also affecting the speed inadvertently. Not impossible, just adds a bit more difficulty.
However, since the setting can be easily changed for individual use cases, this is not a blocker. I agree that we should not cause undue friction by deviating from standard controls elsewhere
Objective
FreeCamerauses MouseButton::Left for cursor grabbing, which risks input conflicts, for example, if scene selection tools are introduced, as both actions would map to the same trigger.Solution
FreeCameraTesting
free_camera_controllerexample works properly.