-
-
Notifications
You must be signed in to change notification settings - Fork 69
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make freelook not center the mouse cursor after exiting freelook mode (and remove the crosshair) #1076
Comments
See godotengine/godot#34801 where I added a crosshair. I decided against adding an editor setting as it doesn't seem like a significant enough feature to toggle. I would prefer solving the issue at hand rather than adding a setting (see below). If we find a way to avoid the cursor centering when leaving freelook, we should remove the crosshair entirely as it'll no longer serve a purpose. This is possible but not 100% trivial, as the cursor is centered due to how |
- Remove the crosshair as it no longer serves a purpose (the cursor will now appear where the user "expects" it to). This closes godotengine/godot-proposals#1076.
- Remove the crosshair as it no longer serves a purpose (the cursor will now appear where the user "expects" it to). This closes godotengine/godot-proposals#1076. (cherry picked from commit 4a542e0)
@Flavelius What was the reason for wanting the crosshair removed? I thought it was nice. Just because it was unnecessary? |
@aaronfranke It's somewhat related to the issue described in this thread. It only served as an indicator/visual confirmation that the hidden recentering happened. |
- Remove the crosshair as it no longer serves a purpose (the cursor will now appear where the user "expects" it to). This closes godotengine/godot-proposals#1076. (cherry picked from commit 4a542e0)
- Remove the crosshair as it no longer serves a purpose (the cursor will now appear where the user "expects" it to). This closes godotengine/godot-proposals#1076.
Describe the project you are working on:
Just looking forward to using godot
Describe the problem or limitation you are having in your project:
Looking around the 3D view with rightclick moves the cursor to the viewport center and displays a crosshair. Both of these actions are somewhat unnecessary and force-centering the cursor is even a little annoying as one has to reposition the mouse after every freelook (which in most cases is done quite frequently).
Describe the feature / enhancement and how it helps to overcome the problem or limitation:
There should be toggles to disable the display of the crosshair and for recentering on freelook, or alternatively the crosshair just be removed and recentering disabled by default.
The crosshair currently may be a tiny helper in certain circumstances for selecting objects, but only because the recentering (mis)behaviour is there too. If the cursor didn't recenter, releasing the mouse to select objects would be a more consistent/direct rotate-view-select flow.
Describe how your proposal will work, with code, pseudocode, mockups, and/or diagrams:
Internally the recentering could still be happening to make freelook work correctly, but on release the mouse should be positioned to the point where the initial click happened, as the action from a users point of view is 'grabbing the camera', not entering shooter mode. Or if implemented as setting there could even be an option that just does not lock the cursor (as unity does for example).
Removing the crosshair is probably simpler.
If this enhancement will not be used often, can it be worked around with a few lines of script?:
It's internal to the editor behaviour, so it can't be worked around.
Is there a reason why this should be core and not an add-on in the asset library?:
It's internal to the editor behaviour, so it can't be user-scripted.
The text was updated successfully, but these errors were encountered: