Polygon collision method