TheOpenSpaceProgram / osp-magnum

A spaceship game
https://www.openspaceprogram.org/
MIT License
216 stars 32 forks source link

Solar System Scenario #295

Closed Ben-Bingham closed 5 months ago

Ben-Bingham commented 5 months ago

This PR adds a new scenario featuring a basic N-Body simulation of a solar system. The simulation is not super stable and after only a minute or two some of the planets closer to the sun fall into the sun, but I suspect thats primarily because of the short distances between the planets and the sun, as well as the general fast speed of the simulation, having orbits taking between 30s to two minutes.

jonesmz commented 5 months ago

Can you rebase (and do at least a tiny bit of testing for your change) on the latest master branch? I just merged the Jolt physics change which was a pretty big one.

Ben-Bingham commented 5 months ago

Ive Rebased the branch, and made all the suggestions that Cap suggested

Ben-Bingham commented 5 months ago

I just completed the last set of suggestions from Capital-Asterisk