Skip to content
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

Add a way to move camera infinitely (add pointerlock) #6181

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

zardoy
Copy link

@zardoy zardoy commented Jul 23, 2023

I discovered that the mouse functionality is unusable with a three-monitor setup. Even with just one monitor, I still find it annoying to use as the mouse can hit the screen corner.

closes #1352

And I also refactored code a bit so it easier to read.

I decided to not enable new functionality by default (as it has problem that you can see on gif).
When pointerlock gets released cursor position is misleading and it gets updated after mousemove event. I think the proper solution would be to change cursor behavior so it stays on the same place and arrow indicates moving direction instead.

GIF

Jul-23-2023 07-52-16

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Consider allowing mouse capture for easier turning on desktop
1 participant