Irregular shapes collision detection

Thanks ! It s very helpful but it s does’nt give solution for irregular shapes… like for example shapes that look like pieces of a puzzle. Thanks again