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

Hitbox being offset and way too large #4

Open
DevMC7 opened this issue Nov 4, 2024 · 1 comment
Open

Hitbox being offset and way too large #4

DevMC7 opened this issue Nov 4, 2024 · 1 comment

Comments

@DevMC7
Copy link

DevMC7 commented Nov 4, 2024

image
I tried to make a boss that has a custom hitbox using this mod but the hitbox is really large and offset. I used the sample code from the repo's readme but whenever I returned a list with more than one element the hitbox became like the one in the image. I've tried to use extremely small numbers for the hitbox size but it didn't work. I've also customized and completely removed the setDimensions() method for the entity but it also didn't work
The entity type I'm using is a PathAwareEntity

@byteManiak
Copy link
Owner

Hi, can I see the code for your custom collider?

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

2 participants