- Joined
- Mar 18, 2009
- Messages
- 19
- Reaction score
- 0
- Points
- 1
Hello,
I am making a game like 'Frontier', from David Braven, and i need to obtain position and velocity from the orbital parameters and vice-versa.
I've seen that the Orbiter manual comes with equations to obtain orbital parameters from the position and velocity, but i have a doubt with the equation of the eccentricity vector: Is the 'v' in that formula the length of the velocity vector?
Regarding the conversion in the other way, i.e. position and velocity from orbital parameters, i have found a web (http://www.braeunig.us/space/orbmech.htm) and perhaps i will be able to get the equations from there, but the solution for the true anomaly says it is valid for small eccentricities only (the error of the order of e^3). Perhaps it will suffice for me, but does anyone know a better equation for the true anomaly, or a complete equation for the position of a orbiter in function of time?
Thanks in advance
I am making a game like 'Frontier', from David Braven, and i need to obtain position and velocity from the orbital parameters and vice-versa.
I've seen that the Orbiter manual comes with equations to obtain orbital parameters from the position and velocity, but i have a doubt with the equation of the eccentricity vector: Is the 'v' in that formula the length of the velocity vector?
Regarding the conversion in the other way, i.e. position and velocity from orbital parameters, i have found a web (http://www.braeunig.us/space/orbmech.htm) and perhaps i will be able to get the equations from there, but the solution for the true anomaly says it is valid for small eccentricities only (the error of the order of e^3). Perhaps it will suffice for me, but does anyone know a better equation for the true anomaly, or a complete equation for the position of a orbiter in function of time?
Thanks in advance