I'm looking for an algorithm solving a problem with detecting collisions between non-aligned objects in 2d (e.g. rectangles), as below:
How do I go about it? All of the articles I found online handle axis-aligned objects, which is not what I need. As for know, I handled only collisions between circles by measuring distance between their centers, but this case is way more difficult.