- #1
sirchick
- 51
- 0
Hey
I've been trying to make a basic animation which involves launching a spaceship from one planet to another. Both planets orbit at different rates from the star with fixed speeds.
The spaceship also has a fixed speed from start to finish.
What i don't understand is how you measure how long it takes given both the destination is moving and the spaceship has to "curve" around and not just going a completely straight line.
My animation is here if you are curious to see it in action: http://jsfiddle.net/5Mx2t/
I don't know how to actually work out the correct maths for it! I have all kinds of problems with my animation attempt, such as the ship traveling faster if the planets are closer.
Note: gravitational pull is not taken into account as I am not going quite that far with realism.
So yeah some help explaining how i would work this out would be very helpful! :)
I've been trying to make a basic animation which involves launching a spaceship from one planet to another. Both planets orbit at different rates from the star with fixed speeds.
The spaceship also has a fixed speed from start to finish.
What i don't understand is how you measure how long it takes given both the destination is moving and the spaceship has to "curve" around and not just going a completely straight line.
My animation is here if you are curious to see it in action: http://jsfiddle.net/5Mx2t/
I don't know how to actually work out the correct maths for it! I have all kinds of problems with my animation attempt, such as the ship traveling faster if the planets are closer.
Note: gravitational pull is not taken into account as I am not going quite that far with realism.
So yeah some help explaining how i would work this out would be very helpful! :)
Last edited: