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

Camera rotation speed is very slow on Firefox Wayland #624

Open
SuperSamus opened this issue Dec 13, 2023 · 5 comments
Open

Camera rotation speed is very slow on Firefox Wayland #624

SuperSamus opened this issue Dec 13, 2023 · 5 comments

Comments

@SuperSamus
Copy link

SuperSamus commented Dec 13, 2023

Just like the title says, when I rotate the camera using the mouse, the rotation speed is extremely slow, especially in WASD mode.
Having a rotation speed setting would probably help.

The rotation with IJKL is fine, unless Shift is held, then it's too fast.

Firefox 120.0.1, Linux
Monitor 2560x1440, 144 Hz (if that matters)

EDIT: Only on Wayland, not on XWayland.

@magcius
Copy link
Owner

magcius commented Dec 16, 2023

That definitely sounds odd. My guess is that it's something to do with pointer lock. Can you try running main.viewer.inputManager.usePointerLock = false in the console and see if that improves things?

@SuperSamus
Copy link
Author

It does.

camera_rotation_speed.mp4

@magcius
Copy link
Owner

magcius commented Dec 16, 2023

Looks like an issue with Firefox's pointer lock implementation on Linux -- I think it might be ignoring pointer acceleration. There's not much I can do about that.

@Miepee
Copy link

Miepee commented Dec 16, 2023

I wasn't aware that IJKL also rotates the camera - could that be mentioned somewhere? I currently don't see it.

@magcius
Copy link
Owner

magcius commented Dec 16, 2023

It's mentioned in the Controls section on the README, but I can probably find a better place for it: https://github.com/magcius/noclip.website#controls

@SuperSamus SuperSamus changed the title Camera rotation speed is very slow Camera rotation speed is very slow on Firefox Wayland Dec 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants