QtPyHammer-devs / QtPyHammer

python alternative to Valve's "Hammer World Editor"
GNU General Public License v3.0
35 stars 2 forks source link

Inputs being handled poorly by camera #5

Closed snake-biscuits closed 4 years ago

snake-biscuits commented 4 years ago

yoshimario2000 reported occasionally Left-Right controls break (found to be related to spinning the camera too many times along local X axis

Exactol noted the cursor can escape the window during tracking

snake-biscuits commented 4 years ago

commits: https://github.com/snake-biscuits/QtPyHammer/commit/50d668c9aec7e001d1aab521da77f4ead216b212 & https://github.com/snake-biscuits/QtPyHammer/commit/1bd55e747f0de06ea6f09efb34bfda7de7aa1c62 have been added to address both of these issues. Firstly by locking camera rotation along the camera's local x-axis to a range of -120 to 120 degrees And secondly by teleporting the cursor to the center of the viewport repeatedly, however this has resulted in noticeable camera judder.

So this issue will remain open until the cause of the judder is identified, if not fixed.

snake-biscuits commented 4 years ago

commit: https://github.com/snake-biscuits/QtPyHammer/commit/f1ab702d62664c097a8c815e09d90159c77e0dd0 has removed camera judder This issue will be fixed for the master branch when the v0.0.4-dev branch is merged