Orbital Mechanics in 2D: Using State Vectors to Solve Orbits in Godot
This video illustrates the use of state vectors to simulate a 2D space of an object in orbit, using the Godot game engine. It illustrates how the object's position and velocity can be employed to compute its orbit, rather than using Kepler elements. The video illustrates how the object's velocity changes as it moves closer or farther away from the center object, and how the position and velocity can be manipulated.
It's worth mentioning that this method of simulating orbits is more realistic when it comes to showing how a vehicle using propulsion would move through space. Check out the related video that uses Kepler orbital elements to demonstrate the same simulation.
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
Other Videos By The Pathfinders Codex
2023-02-13 | Colony time-lapse: 8th Rock |
2023-02-12 | Colony time-lapse: New Horizon 2021 |
2023-02-11 | Oxygen Not Included Vanilla First Win |
2023-02-10 | Devlog: Ukulele Chord Transposer for Android |
2023-02-10 | Ukulele Chord Transposer Code for Android |
2023-01-31 | DIY Christmas Tree in Grounded Game - A Fun Holiday Decoration |
2023-01-30 | Oxygen Not Included Vanilla Time-lapse |
2023-01-30 | Oxygen Not Included Spaced Out First Win |
2023-01-29 | Oxygen Not Included Spaced Out Time-lapse |
2023-01-29 | Solving all puzzles of Opus Magnum |
2023-01-28 | Orbital Mechanics in 2D: Using State Vectors to Solve Orbits in Godot |
2023-01-28 | Noita Gold Trick - It's Raining Gold |
2023-01-28 | Noita: A Map of My Death Locations |
2023-01-27 | Noita 100+ Hilarious Attempts and the Story of My Final Victory |
2023-01-27 | |
2023-01-27 | Orbital Mechanics in 2D: Using Orbital Elements to Solve Orbits in Godot |