fix: Fix calculation of AABB for ShapeHitboxes#1481
Conversation
|
What would be the reported set of intersection points in this case? |
In the bug report you mean? Both start and end seems to be called for every tick. |
|
I mean, normally when 2 shapes collide, we compute their set of collision points. But here the two shapes overlap exactly, so I was wondering what's going to happen to that set (in theory there are infinite number of collision points now). A circle-on-circle overlap would be interesting too... |
Aah, now I get what you mean, with polygon collisions that have lines that are on each other the intersections points will be formed by the line that is created by each overlap and the points will be the start, end and middle of that line. |
ShapeHitboxes
Description
Tried to reproduce #1478 without luck.
Checklist
fix:,feat:,docs:etc).docsand added dartdoc comments with///.examples.Breaking Change
Related Issues
Closes #1478