|
|
|
|
@ -258,6 +258,12 @@ applyManeuver(GameOrbit* orbit, double previous_true_anomaly)
|
|
|
|
|
dvec3 pos = orbitGetPositionVector(r, theta); |
|
|
|
|
dvec3 vel = orbitGetVelocityVector(mu, h, sys.elements.e, theta); |
|
|
|
|
|
|
|
|
|
// FIXME: need to count rotation from the 'I' axis on equatorial orbits
|
|
|
|
|
// WIP
|
|
|
|
|
// also need to get the updated eccentricity vector before we can calculate
|
|
|
|
|
// the other angular orbital elements
|
|
|
|
|
//sys.elements.omega = sys.elements.nu;
|
|
|
|
|
// WIP
|
|
|
|
|
sys.rotation = orbitGetXForm(sys.elements); |
|
|
|
|
sys.sat.position = sys.rotation * pos; |
|
|
|
|
sys.sat.velocity = sys.rotation * vel; |
|
|
|
|
|