A basic implementation of separation axis theorem which can tell if two convex polygons are colliding. Extremely useful for pen projects for when there are rotated objects. This should also be more accurate (but slower) than the if touching blocks. I'd recommend adding a broad phase before checking with SAT.