Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-261490

Spinning quickly for too long makes horizontal camera movement jittery

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • None
    • 1.19.4, 23w13a
    • None
    • Unconfirmed
    • (Unassigned)

      After spinning the camera really quickly left or right, camera movements become jittery and snap instead of moving smoothly

      Steps to reproduce:

      1. You need some way to lock your mouse to a corner of the screen. One way to do this, which I used, is to connect a drawing tablet and hold the pen on tablet such that it keeps the mouse locked to one place.
      2. Let the camera in Minecraft spin for about 30 seconds. With a drawing tablet, you may need to constantly move your pen slightly so the mouse pointer's position is consistently updated.
      3. Afterwards, moving your camera somewhat slowly should make the issue easy to notice.

      This bug appears like it might be caused by a floating point precision issue. If so, limiting the value storing the horizontal client-sided rotation instead of letting it increase forever should solve this issue.

            Unassigned Unassigned
            Ellivers Ellivers
            Votes:
            1 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: