Planets in cosmic collision