- Joined
- Jun 26, 2009
- Messages
- 1,045
- Reaction score
- 0
- Points
- 36
Hi everyone!
I posted a thread a while back about a simple orbit simulator I'd managed to make. That one was based on the Kepler 2 body problem, which is not a real-time simulation, but rather a pre-determined assumed path.
Today, I found the PDF in the orbiter documentation called 'dynamics' which tells you all about the real-time algorithms Orbiter uses to simulate motion. I really liked the idea of implementing the simplest of these (the single-step linear interpolation) in my own simulation, and I just managed to get it working! It was so rewarding to see the small blue circle doing a perfect elliptical orbit around the red one, based on the raw forces acting on it and nothing else!
I also added the ability to give the small satellite a kick by pressing the space bar, and indeed, the orbit changes based on the new forces applied to the satellite.
Anyway, it's not much, but it is, at the core, a really basic 2d version of Orbiter
I posted a thread a while back about a simple orbit simulator I'd managed to make. That one was based on the Kepler 2 body problem, which is not a real-time simulation, but rather a pre-determined assumed path.
Today, I found the PDF in the orbiter documentation called 'dynamics' which tells you all about the real-time algorithms Orbiter uses to simulate motion. I really liked the idea of implementing the simplest of these (the single-step linear interpolation) in my own simulation, and I just managed to get it working! It was so rewarding to see the small blue circle doing a perfect elliptical orbit around the red one, based on the raw forces acting on it and nothing else!
I also added the ability to give the small satellite a kick by pressing the space bar, and indeed, the orbit changes based on the new forces applied to the satellite.
Anyway, it's not much, but it is, at the core, a really basic 2d version of Orbiter