A simulation of our Solar System and a game at the same time made mainly for educational purposes (it gives a good sense of the time and space scale of out Solar System). The planets the moon and the Space Crafts follow realistic (elliptical) orbits in phase space and the relative sizes of planets and moon are correct. For the orbital elements of the planets I used values according to the NASA planetary fact sheet. The radius of all planets and moon is increased by a factor of 30 to avoid floating point errors since the GPU internally is using single precision arithmetics. The planetary orbits are pre-computed at start time using a 4rth-order Runge-Kutta integrator. Specifically the 2nd Kepler-law (which is a differential equation) is solved for the values according to the Nasa Fact-Sheet for the planets of our solar system and the moon. The trajectories of the Space-Crafts are calculated at run time using a 2nd order Leapfrog Integrator with initial conditions based on user input and Earth's position and velocity at the time the Space Craft is launched. The goal of the game is to launch Space Crafts and complete the missions. Check out the video in the right for gameplay footage. Note that in order to play the game you need a mouse with a wheel. Programmed with C# and powered by Unity.
-
Notifications
You must be signed in to change notification settings - Fork 30
A simulation of our Solar System and a game at the same time made mainly for educational purposes (it gives a good sense of the time and space scale of out Solar System). The planets the moon and the Space Crafts follow realistic (elliptical) orbits in phase space and the relative sizes of planets and moon are correct. For the orbital elements o…
License
sotos82/SolarSystemSimulatorGame
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
A simulation of our Solar System and a game at the same time made mainly for educational purposes (it gives a good sense of the time and space scale of out Solar System). The planets the moon and the Space Crafts follow realistic (elliptical) orbits in phase space and the relative sizes of planets and moon are correct. For the orbital elements o…
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published