You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am facing an issue with collision detection for objects created in Tiled. I have assigned the collision class to the objects. While rectangle objects work perfectly, circle and polygon objects do not trigger collisions as expected.
It is strange because the object is rendered with the collision color, indicating that the collision area is being detected. However, the player does not respect the boundaries of circle and polygon objects and moves through them as if no collision exists.
To reproduce this issue, I created a small example project that demonstrates the problem.
You can find the project at the following link:
- Open the provided project: https://github.com/juarezfranco/bonfire_test- Observe the collision behavior of rectangle objects (works as expected).
- Check the collision behavior of circle and polygon objects (not working).
What did you expect to happen?
I expect all objects assigned with the collision class, including circles and polygons, to correctly trigger collision detection. This behavior should be consistent across all object shapes, just like rectangles currently do.
Bonfire version
3.13.2
Relevant log output
The text was updated successfully, but these errors were encountered:
What happened?
I am facing an issue with collision detection for objects created in Tiled. I have assigned the collision class to the objects. While rectangle objects work perfectly, circle and polygon objects do not trigger collisions as expected.
It is strange because the object is rendered with the collision color, indicating that the collision area is being detected. However, the player does not respect the boundaries of circle and polygon objects and moves through them as if no collision exists.
To reproduce this issue, I created a small example project that demonstrates the problem.
You can find the project at the following link:
https://github.com/juarezfranco/bonfire_test
Tested platforms:
Environment:
Bonfire version: ^3.13.2
Flutter version:
Steps to reproduce?
What did you expect to happen?
I expect all objects assigned with the collision class, including circles and polygons, to correctly trigger collision detection. This behavior should be consistent across all object shapes, just like rectangles currently do.
Bonfire version
3.13.2
Relevant log output
The text was updated successfully, but these errors were encountered: