collisiondetection with tail