 their gravity would coalesce them into a  single body at that distance. Finally, the effects of the gravity of  a pulsar entering the solar system, even if it was a hundred million  or more miles away from the Earth, would disrupt the orbit of every  planetary body, including asteroids and moons, to the point where  Earthly life would probably die out long before a collision could  occur.