Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove eye offsetting hacks #2918

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

appgurueu
Copy link
Contributor

@appgurueu appgurueu commented Jan 18, 2022

The eye height is now managed by player_api and automatically reduced when the sitting or laying animations are set. The resetting of eye height in beds was entirely unneeded and only had potential to break mods. For carts, this fixes the eye height being too low.

@appgurueu appgurueu requested a review from sfan5 January 18, 2022 19:07
@sfan5
Copy link
Member

sfan5 commented Jan 18, 2022

OK for beds. But for carts it looks like you're flying in 1st person view even though the model is positioned sanely in 3rd person.

@appgurueu
Copy link
Contributor Author

OK for beds. But for carts it looks like you're flying in 1st person view even though the model is positioned sanely in 3rd person.

Hmm, carts are weird - while the model is standing, the eye offset is supposed to be that of a sitting player? I suspect this is to partially work around #1927.

@sfan5 sfan5 removed their request for review January 20, 2022 21:50
@appgurueu appgurueu marked this pull request as draft June 1, 2022 18:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants