How can I predict a spaceship’s orbit, as the player adjusts the velocity. Let’s say the spaceship is in a circular orbit. How do I predict the future XYZ coordinates for that and also for elliptical orbits. Say the player fires the engines to boost the speed. How do I continuously update the orbit?
I can find tons of formulas on Kepler’s and Newton’s laws but none of them are for the future XYZ positions.
I know Kerbal Space Program predicts trajectories using a function of time but they don’t say the formulas they use.