New polygonal collision detection