Open robzienert opened 10 years ago
You can permanently enable the bounding box debugging within the CollisionDebugSystem
Rectangles can't be rotated, so it looks like we'll have to use Polygons instead. Polygons have different coordinate attributes which means the collision detection will need to be altered accordingly. (x, y) vs. (getX, getyY) ...and probably other stuff too.
Makes sense.
Found this stuff - there might be math in there that could help.
Bounding boxes for ISO tiles (as seen when an entity is moving) need to be rotated to fit the actual tile as seen on the screen.