Skip to content

Fix: Pose Height/Animation Fixes#1149

Open
tylerreese543-lab wants to merge 2 commits intosmartcmd:mainfrom
tylerreese543-lab:sneak-height-fix
Open

Fix: Pose Height/Animation Fixes#1149
tylerreese543-lab wants to merge 2 commits intosmartcmd:mainfrom
tylerreese543-lab:sneak-height-fix

Conversation

@tylerreese543-lab
Copy link

@tylerreese543-lab tylerreese543-lab commented Mar 11, 2026

Description

Fixes the sneak height so the player doesn't float when they sneak. I might merge this with other fixes like boats in the future.

Fixes the boat height / animation for both large and small models.

Changes

Previous Behavior

Player floated when they crouched.

Player floated on boat, and legs were together.

Root Cause

Their height in the render script did not go down upon sneak.

Simply did not have the animation code proper.

New Behavior

Added that functionality.

Fixed the improper animation code. Sitting/Riding animations work properly, and small models are positioned correctly.

image image image

Fix Implementation

Replaced "yp" in PlayerRenderer::render, to go down upon sneak. I'm not entirely sure why it blocked sneaking in the first place.

Added a new bitmaskEnabled() function for getBitmaskOverride [localized, cleaned up, readability]
Re-worked boat riding
Added translation for item holding when small models are in a boat.

AI Use Disclosure

Related Issues

  • Fixes #[issue-number]
  • Related to #[issue-number]

@tylerreese543-lab tylerreese543-lab changed the title Fix Fix: Crouch float Mar 11, 2026
Fixed boat heights + small model item holding when on boats. Added boat height fix for small models.
@tylerreese543-lab tylerreese543-lab changed the title Fix: Crouch float Fix: Pose Height/Animation Fixes Mar 12, 2026
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