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

Refactor/Remove Pose::translateY() #605

Open
4 tasks
Try opened this issue Apr 16, 2024 · 0 comments
Open
4 tasks

Refactor/Remove Pose::translateY() #605

Try opened this issue Apr 16, 2024 · 0 comments

Comments

@Try
Copy link
Owner

Try commented Apr 16, 2024

translateY is hack to workaround difference between OpenGothic and Vanilla:

in OpenGothic logical center of npc is in between foots, for sake of making ground collision easier
in Vanilla logical center is same as geometry center and game relies it in swim and climb mechanics

  • align center of npc location to Vanilla
  • ensure save-game compatibility
  • remove code related to +/- translateY()
  • implement correct ray-box intersection for arrows
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

No branches or pull requests

1 participant