[BUG] Holding shift and moving the camera fast leads to weird behaviour

Started by mrpenguinb, October 30, 2023, 11:02:58 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

mrpenguinb

When holding shift and rotating with right-click, if you move the mouse fast and keep doing it for a while, normal right-click camera movement will be out of alignment. E.g. won't be able to move the camera up or it will spin right if you try and rotate any direction.

namida

There's a few issues that have arisen from the new mouse lock code. I'm considering whether to revert back to the old code - it wasn't perfect either but Loap hid the oddities of it quite well. I could also revert the lock for camera movement while keeping the new code for confining the cursor, as that's not having so much problem. (The issue that arose with mouse movement when confining the cursor was enabled, is due to a dumb oversight rather than a major flaw in the code.)
My projects
2D Lemmings: NeoLemmix (engine) | Lemmings Plus Series (level packs) | Doomsday Lemmings (level pack)
3D Lemmings: Loap (engine) | L3DEdit (level / graphics editor) | L3DUtils (replay / etc utility) | Lemmings Plus 3D (level pack)
Non-Lemmings: Commander Keen: Galaxy Reimagined (a Commander Keen fangame)