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

Entity head rotation not interpolating on Yaw axis

    • Icon: Bug Bug
    • Resolution: Fixed
    • Minecraft 18w21a
    • Minecraft 1.10.2, (20)
      Minecraft 1.11, Minecraft 1.11.2, Minecraft 1.12.1, Minecraft 1.12.2 Pre-Release 1, Minecraft 1.12.2 Pre-Release 2, Minecraft 1.12.2, Minecraft 17w43a, Minecraft 17w43b, Minecraft 17w45a, Minecraft 17w45b, Minecraft 17w46a, Minecraft 17w47a, Minecraft 17w47b, Minecraft 17w48a, Minecraft 17w49a, Minecraft 18w14a, Minecraft 18w14b, Minecraft 18w16a, Minecraft 18w19a, Minecraft 18w19b
    • Confirmed

      When a mob or player in multiplayer looks left/right (Yaw axis), the rotation of its head stutters because it's not interpolated on that axis but when they look up/down (Pitch axis), the rotation is interpolated.

      When in thirdperson, your character's client-side head interpolates on the Yaw axis but doesn't on the Pitch axis. The bug can be fixed by making the player's client-side head not interpolate on the Yaw axis.

      A code analysis would be great to correct me if I'm wrong.

          [MC-105139] Entity head rotation not interpolating on Yaw axis

          Greg Milson added a comment -

          Thanks for fixing this, this had bugged me for ages.

          Greg Milson added a comment - Thanks for fixing this, this had bugged me for ages.

          Greg Milson added a comment -

          What exactly do you mean?

          Greg Milson added a comment - What exactly do you mean?

          [Mod] Pokechu22 added a comment - - edited

          I took a look at this earlier and was confused. Just now an unrelated comment elsewhere reminded me that the protocol supports the following:

          But it doesn't allow specifying entity head pitch - that's entirely clientside. I haven't looked fully with this new information, but it's a lead.

          This information is wrong at least partially wrong (entity pitch doesn't seem to be a thing, only entity head pitch?), but that only indicates that I don't understand it.

          [Mod] Pokechu22 added a comment - - edited I took a look at this earlier and was confused. Just now an unrelated comment elsewhere reminded me that the protocol supports the following: Specifying entity pitch and yaw ( Entity Look ) Specifying entity head yaw ( Entity Head Look ). But it doesn't allow specifying entity head pitch - that's entirely clientside. I haven't looked fully with this new information, but it's a lead. This information is wrong at least partially wrong (entity pitch doesn't seem to be a thing, only entity head pitch?), but that only indicates that I don't understand it.

          Greg Milson added a comment - - edited

          Ok. It's just this has bugged me for ages and would like a fix in the future.

          Greg Milson added a comment - - edited Ok. It's just this has bugged me for ages and would like a fix in the future.

          Would you mind lowering the amount of times you edit this issue? Every time you edit/update this issue a mail gets send to the watchers. Try and do as much as possible in 1 edit.

          user-f2760 (Inactive) added a comment - Would you mind lowering the amount of times you edit this issue? Every time you edit/update this issue a mail gets send to the watchers. Try and do as much as possible in 1 edit.

          bob added a comment -

          Can confirm for 1.11

          bob added a comment - Can confirm for 1.11

          Kumasasa added a comment -

          Please force a crash by pressing F3 + C for 10 seconds while in-game and attach the crash report (minecraft/crash-reports/crash-<DATE>-client.txt) to this ticket.

          Kumasasa added a comment - Please force a crash by pressing F3 + C for 10 seconds while in-game and attach the crash report ( minecraft/crash-reports/crash-<DATE>-client.txt ) to this ticket.

            rherlitz Rikard Herlitz
            gregmilson Greg Milson
            Votes:
            7 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: