Pointer Lock movementX/Y values jump when scroll wheel used.
Reported by
r2r...@hotmail.com,
Mar 15 2017
|
|||||||||
Issue descriptionUserAgent: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.87 Safari/537.36 Steps to reproduce the problem: 1 : go on the WebGL test link : http://www.asr-games.net/WebGLProblem/ 2 : See the instructions for the bug 1 3 : Lock the cursor by pressing tab, play with your mouse scroll,mouve your mouse a bit. Video : https://www.youtube.com/watch?v=2dZANg5-Czo What is the expected behavior? The camera should not rotate after the use of the mouse scroll. What went wrong? The camera rotate after the use of the mouse scroll. Do not happen in firefox. Did this work before? No Does this work in other browsers? Yes Chrome version: 56.0.2924.87 Channel: n/a OS Version: 6.1 (Windows 7, Windows Server 2008 R2) Flash Version: Shockwave Flash 25.0 r0 Google chrome and Canary are affected, everything is fine in firefox. Not good for an FPS game
,
Mar 15 2017
,
Mar 15 2017
I don't understand the reproduction steps. It doesn't seem reproducible on a MacBook Pro Retina with a trackpad, as opposed to a mouse.
,
Mar 15 2017
The camera angle jumps when the mouse is moved after some scrolling. I can't repro on a MacBook Air either, perhaps the system is only sending pixel scrolling events (and not discrete scroll events), which might bypass the issue.
,
Mar 16 2017
Reproduced on Windows & Linux. Google Chrome 57.0.2987.98 Pointer lock impl on Mac is different, doesn't use 'warping', so that may explain the difference.
,
Mar 22 2017
,
Apr 5 2017
,
Apr 22 2017
Still not fixed on chrome 58.0.3029.81? are you serious? Chrome was the first to remove the unity web player plugin and now, 2 year after that, we still can't have something "stable" for our webgl game....
,
May 5 2017
Deprecate IO>PointerLock
,
May 11 2017
Do that mean that this issue will not be solved?
,
May 11 2017
Comment 9 only changed the labeling of how we group issues. This issue remains open.
,
Jul 8 2017
Can we have an update on this issue? i have reported it 4 month ago and it's still not fixed. It's a big problem for an FPS game in WebGL. Thank you.
,
Sep 26 2017
6 months after the report, it's still the same..... Can you take a look please ....
,
Oct 5 2017
Un-assigning myself as I no longer work on PointerLock.
,
Oct 6 2017
Thank you for your answer, i hope that you can assign someone else on it.
,
Oct 12 2017
,
Oct 12 2017
Cannot reproduce the issue on Chrome 61.0.3163.100 Linux and Windows. Is this issue happen in virtual machine or remote desktop?
,
Oct 12 2017
Reproduces for me on Linux 61.0.3163.100.
,
Oct 13 2017
@eirage , it's important to lock the cursor by pressing tab. Linux and windows version are affected.
,
Oct 17 2017
Yes, I did lock the cursor. I can repro it now, around once out of 20 times. It doesn't happen as frequent as the video shows. I added a mousemove event listener in console to log movementX/Y on mousemove event. I didn't see abnormal movementX/Y data while the camera jump. (with such a jump, I assume it must be a 200+ movement) Also test with this: http://output.jsbin.com/raheyun, I didn't see any jump or abnormal movement either. Is it possible that not movementX/Y but something else cause the camera rotation?
,
Oct 17 2017
While I reproduce regularly with the Unity build at http://www.asr-games.net/WebGLProblem/ I also do not easily reproduce on a simple javascript test page. I've updated this one to allow preventing scrolling: https://scheib.github.io/HTMLMisc/PointerLockLog.html I'm unsure how the Unity export is preventing scrolling. It may be related to why this is happening.
,
Oct 20 2017
Thank you for your answer, Marco-Trivellato from unity will take a look, also, it's strange because it do not happen in firefox.
,
Mar 5 2018
looks like a duplicate of 699956
,
May 11 2018
I met this issue at both my project and three.js example page: https://threejs.org/examples/?q=pointer#misc_controls_pointerlock this happen on my laptop with win10, but work fine on another win7 pc, both with a low-end AMD graphic card. don't no if it's related. |
|||||||||
►
Sign in to add a comment |
|||||||||
Comment 1 by kainino@chromium.org
, Mar 15 2017Labels: -OS-Windows OS-All