Planetary Gravity

Trying to make a game in space where the planets attract a spaceship towards it with gravity. Any help or pointers would be appreciated. [import]uid: 20306 topic_id: 8186 reply_id: 308186[/import]