Does anyone know a simple way to check if two polygons, especially rectangles, are colliding? I found a simple way to see if two are touching by just checking if a
There are several methods, the simple is just to check if there is and overlap in X or Y bounds. This however only works with rectangles aligned with the axis.
There is bounds checking, is the corner of one object withing the bounds of coordinates of the other.
From there collision detection gets more advanced. Checking to see if there is a line one can draw between them in any direction and such.