We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When adding multiple HitBoxes, the second and subsequent tests are incorrect. I think this is a bug.
CollisionMapComponent collis = CollisionMapComponent( position: Vector2.zero(), size: Vector2.zero(), collisions: [ RectangleHitbox( position: Vector2.all(200), size: Vector2.all(100), ), RectangleHitbox( position: Vector2.all(300), size: Vector2.all(100), ), CircleHitbox( radius: 50, position: Vector2.all(400), ) ], ); return LayoutBuilder( builder: (context, constraints) { return BonfireWidget( components: [collis], showCollisionArea: true, ...
This bug also occurs with GameComponent other than CollisionMapComponent.
I think the second and subsequent ones should have the same result as the first.
3.8.5
No response
The text was updated successfully, but these errors were encountered:
Hi @nyuntaka ! Thanks for this issue. In the moment I consider only the first hotbox to handle collision. I will try improve this point. Thank you!
Sorry, something went wrong.
Until then, I will instead use multiple GameDecorations with one HitBox added. Thank you.
I was able to confirm that it was fixed. thank you very much.
No branches or pull requests
What happened?
When adding multiple HitBoxes, the second and subsequent tests are incorrect. I think this is a bug.
Steps to reproduce?
This bug also occurs with GameComponent other than CollisionMapComponent.
What did you expect to happen?
I think the second and subsequent ones should have the same result as the first.
Bonfire version
3.8.5
Relevant log output
The text was updated successfully, but these errors were encountered: