mojira.dev
MC-105139

Entity head rotation not interpolating on Yaw axis

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.

Linked issues

Attachments

Comments 7

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|http://hopper.minecraft.net/help/finding-minecraft-data-folder]) to this ticket.

Can confirm for 1.11

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. 🙂

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

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.

What exactly do you mean?

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

Greg Milson

migrated

Confirmed

head, rotation

Minecraft 1.10.2, Minecraft 1.11, Minecraft 1.11.2, Minecraft 1.12.1, Minecraft 1.12.2 Pre-Release 1, ..., Minecraft 18w14a, Minecraft 18w14b, Minecraft 18w16a, Minecraft 18w19a, Minecraft 18w19b

Minecraft 18w21a

Retrieved