Planetary collision in space