Skip to content

1.20.1: Fix head rotation issue with lerp between wading and swimming animations - #20

Open
MarauderKnight3 wants to merge 2 commits into
ThatPreston:1.20.1from
MarauderKnight3:1.20.1
Open

1.20.1: Fix head rotation issue with lerp between wading and swimming animations#20
MarauderKnight3 wants to merge 2 commits into
ThatPreston:1.20.1from
MarauderKnight3:1.20.1

Conversation

@MarauderKnight3

@MarauderKnight3 MarauderKnight3 commented Jul 30, 2026

Copy link
Copy Markdown
HandBrake22_30.07.2026_14-20-59-00.19.51.000-00.19.56.000.mp4

Fixes #16

This glitch is on fabric 1.20.1 and forge 1.20.1. I could not recreate it on fabric 1.21.11. Attached is a recording of the bug on fabric 1.20.1 Singleplayer with no other mods installed except dependencies for Mermod.

Summary: When spawning in on a server with a misaligned head and body, or when rotating the camera quickly, the player's head will become any amount of full rotations misaligned with the body; this is only corrected when the player unwinds themselves by moving their camera aggressively in the correct direction.

Fix: Subtract the full rotations out of the player head's Y axis rotation before the lerp begins.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant