Detecting if two rotated frames are colliding

Hi there! I am creating a puzzle which requires the script to know whether two frames are overlapping. The only problem is that the rectangles are rotated, an upon research and testing, most overlapping checking functions do not support this.

Two rotated frames, I need to know if one frame is intersecting the other.


So is there a way that I can check whether rotated rectangles are colliding, maybe with cartesian coordinates or another way?

Any help is appreciated :slight_smile:

I don’t have any idea on how to fix this, but it will help if you could provide a picture.

ok sure, I added a picture ;;;;;;