Astronomy sim

Looking for an astronomy simulation that does more than orbits - that can do for example, impact events, and custom bodies. Is there such a thing?