I'm making a 2d space game and want to calculate orbits instead of running the simulation ahead. I've looked around a lot, mostly on Wikipedia, and can't really find a formula that can be manipulated to give what I need. I've had pretty much no physics education so forgive me if this is a trivial question.
How do you calculate vectors for apoapsis/periapsis?
Maybe there is a better way to calculate the ellipse? Though I will need these vectors later anyway.
How do you calculate vectors for apoapsis/periapsis?
Maybe there is a better way to calculate the ellipse? Though I will need these vectors later anyway.