Hi,
I am trying to re-learn Swift after a bit of a break and I’d be really grateful if someone could explain to me how to detect a collision between two non-rectangular shapes. Specifically I would like to halt a pan gesture when one triangle collides with another. Both triangles may be randomly oriented (i.e. not parallel to horizontal/vertical axes). I don’t need additional features such as gravity or elasticity.
Very grateful for any pointers!