Which of the following might have influence whether or not a comet will collide with a nearby planet
-The ice and dust the comet is composed of
-The composition of the planets atmosphere
-gravitational attraction between two celestial objects
-none of the above