I have searched everywhere and tried everything to find a solution to this problem. So I came here in hopes of finding an answer. Thanks in advance.
What I need to do is find the rectangle of a rotated rectangle. I have a house that is diagonal and I need to find the rectangle of the bottom of the house so I can check for collisions. I was hoping to use the rectangles to find intersections. Something like -
if (playerRect.intersects(houseRect.bottom){ do something };
Every time I try to get the rectangle of a rotated rectangle, all I get is the bounding box which is not rotated.