Recent content by 450AHX

  1. 450AHX

    How can I generate an elliptical orbit using only position and velocity data?

    Thanks for replying. Sorry, I forgot to mention that this is just an approximation for a game; I'm not trying to predict the real future locations of objects. Heavy objects will be put on Kepler rails, and only negligible mass objects will use n-body dynamics. I need to be able to find an...
  2. 450AHX

    How can I generate an elliptical orbit using only position and velocity data?

    Hi. I'm writing a simulation of (an approximation of) the solar system. So far I've been able to translate the Wikipedia article on Kepler's laws to a function that uses a description of an elliptical orbit (eccentricity, periapsis, known position in time) to return a position when passed an...
Back
Top