Since I'd like to be able to graphically represent a system for players to actually do some tooling around in-system, I need to be able to map a system and have the objects in the system behave as I would expect them to ( including the fun issues of scaling, how orif I should handle out-of-plane orbits, drill-downs, etc).
Part of that is being able to map orbits of bodies. Now, a circular orbit around the primary is easy! (Too easy!)
However, not all orbits are circular. What I need to have is a formula that will allow me to create ellipsoid orbits (ie the formula for the ellipse, so I can draw the ellipse) knowing only the center point of the ellipse and the traveller standard orbital eccentricity figure.
What I am not is a geometry whiz and it has been many years since high school. Anyone care to offer a guess about the formula for an ellipse in the form of some set center coorinate (we'll call that Xc, Yc in two-space), the orbital radius (had it been a circular orbit) we'll call Rorb and an eccentricity we'll call Eorb.
Thanks in advance to any geometers out there.
Part of that is being able to map orbits of bodies. Now, a circular orbit around the primary is easy! (Too easy!)
However, not all orbits are circular. What I need to have is a formula that will allow me to create ellipsoid orbits (ie the formula for the ellipse, so I can draw the ellipse) knowing only the center point of the ellipse and the traveller standard orbital eccentricity figure.
What I am not is a geometry whiz and it has been many years since high school. Anyone care to offer a guess about the formula for an ellipse in the form of some set center coorinate (we'll call that Xc, Yc in two-space), the orbital radius (had it been a circular orbit) we'll call Rorb and an eccentricity we'll call Eorb.
Thanks in advance to any geometers out there.