Universe Library
By Adal
Universe
is now a MIT open source (Unity c#) library part of Sine Fine that provides these features:
Orbit propagator (allows you to calculate the positions of the planets based on a certain date)
Interplanetary mission planner (calculates transfer orbit, duration, and delta V costs, providing data that also allows you to render the ellipse arc)
Relativistic rocket calculator (calculates interstellar travel duration, time dilation, etc. for ships travelling at a fraction of c).
A “game-agnostic” galactic object model, consisting only of physical and orbital characteristics, based on UnitsNet.
Unit tests!
Some of the code was open source anyway, so I thought of releasing mine as well. It is based on poliastro, a popular python MIT library for astrodynamics, which did not seem to have a c# port.
Who is it useful for? Anyone developing a “realistic” space-based games with realistic orbits and travel. This is what I wished I had before starting the development of my game. It would surely helped me spare several months. This code already exists online in various forms, but it is scattered in a myriad of different projects and languages, making it difficult to extract something reusable from it.