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

change targeting to use height/2 instead of getEyeHeight() of entities. #7

Merged
merged 1 commit into from
Jan 4, 2025

Conversation

Keridos
Copy link

@Keridos Keridos commented Jan 4, 2025

Change targeting to use entites height divided by 2 instead of the eye height.

Reason:
Some entities have broken eye heights. f.ex. baby zombies have them outside of their bounding box. Wisps also seem to have it on the top point of their bounding box.
This should improve targeting of the turrets.

@serenibyss serenibyss merged commit 424b9cb into GTNewHorizons:master Jan 4, 2025
1 check passed
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.

2 participants