You are viewing a single comment's thread from:
RE: Planets | A Multiplayer Planet Gravity Game
Sadly, these equations have no closed form solution, so I ended up wasting a lot of time on this journey, though I did learn a lot.
As far as I found, there is no continuous solution sadly.
Do you know about the orbit equation? It might be used together with the second kepler law to create a useful equation.
Edit:
Just noticed that you are making gravity towards more then one object at once, so it is indeed not possible :(
Ooh, I never even tried to use that equation, thanks for linking it. Sadly, I don't think this equation will work since it still doesn't find a direction of that velocity, and still requires the positioning (radius), but I will look into using this one. Thanks!