New Devlog :D 
So much happened, but I’m sooo much closer to getting the orbit system done.
I can now start on a planet, get into orbit, and then transition into an orbit around the Sun. This is possible because of two different systems working together.
When entering the planet’s orbit, the physics swith to a system relative to the planet, so the Sun’s velocity and other values are cancelled out. When flying out of the planet and into the Sun’s orbit, it works the other way around.
When the rocket switches between the systems, the new coordinates are calculated automatically. There are also lines showing boht possible scenarios, which is useful for predicting where the rocket will go.
I also added the ability for the rocket to rotate on the map in the same direction as in the game. It can be turned and the thrust can also be changed. Everything is live, so the calculations are always the same.
I also had a small issue where very flat orbits resulted in flickering lines and wobbly patterns. This is now fixed too.
The last thing I need to fix is that the rocket’s orbit line doesn’t start relative to the planet’s surface, so the orbit gets stretched at the beginning.
Hope you like it :) 
Comments 0
No comments yet. Be the first!
Sign in to join the conversation.