So after quite a bit of research on how to detect collisions of non moving and non collidable parts I discovered the Separating Axis Theorem. Which is described here I understand that concept and how it works, but what I don't understand is how they find the line to separate the rectangles.
So my questions are how exactly do they go about finding the line and how would one implement it into Roblox Lua.
(Answering the first question is more important to me, and so if you are maybe not the best at Lua but you are good at math, I would still love for the help.)
This is a relevant question I had 2 months back. I think it pretty much clears up everything if you read through it all and understand the code.