i have watched numerous tutorials on implementing the SAT, but i think the math eludes me (as it usually does). Say, theoretically, that you are looping over each edge in a programming language, now you have the difference between one vertex and the preceding one, you have a vector. I am a little confused about why precisely this vector would have a bias in a specific direction... But anyway, let's say we have edge ->, now you want to somehow take each edge ->... and somehow make an axis for projection. I see some resources saying this should be the perpendicular line (swap components, invert one sign). I see other resources saying this should be the cross-product (cross-product doesn't make sense to me on a 2D polygon). I think the right answer would be to take the perpendicular ->.
now i lose the plot. Ok, so i expect the perpendicular -> to be away from all the other polygons, i expect that it must be offset to project all the vertices onto it (they must all be to its side). A lot of the time it isn't, like if it's an internal edge
but here is where i get massively confused. Say the edge is taken from the inside of Polygon A, and we normalize it to preserve the direction. I understand that if you take the origin of the normalized axis, and then project (using dot product) a vector from each vertex, this would allow you to... do something? i don't have the angle, and i also don't have any concept of how this would enable me to find the distance to a projected point on the axis.. for comparison / min max stuff.

