Orbital Mechanics in 2D: Using Orbital Elements to Solve Orbits in Godot

Subscribers:
529
Published on ● Video Link: https://www.youtube.com/watch?v=ZiAHoTRhAWg



Duration: 0:00
1,299 views
21


This video demonstrates how to use the Kepler elements to simulate a 2D space of an object in orbit using Godot. It shows how the anomaly elements change in relation to each other over the course of an elliptical orbit, and how the periapsis argument stands in for the 2D rotation of the orbit. Check out the related video that shows the same simulation but it runs based on the state vectors of the object instead of the Kepler elements.

Music: Different Universe-neilcross via Flexclip

Shout out to KSP for the original inspiration to learn this stuff!

Here is where I found most of the formulas and details on how to calculate these orbits:
https://janus.astro.umd.edu/cgi-bin/orbits/orbview.pl
https://scriptverse.academy/tutorials/c-program-newton-raphson.html
https://searchcode.com/codesearch/view/56537037/
https://elainecoe.github.io/orbital-mechanics-calculator/formulas.html
https://orbital-mechanics.space/classical-orbital-elements/orbital-elements-and-the-state-vector.html
https://downloads.rene-schwarz.com/download/M002-Cartesian_State_Vectors_to_Keplerian_Orbit_Elements.pdf
https://www.sciencedirect.com/topics/engineering/orbit-formula