1.20.1: Fix head rotation issue with lerp between wading and swimming animations - #20
Open
MarauderKnight3 wants to merge 2 commits into
Open
1.20.1: Fix head rotation issue with lerp between wading and swimming animations#20MarauderKnight3 wants to merge 2 commits into
MarauderKnight3 wants to merge 2 commits into
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.