P0-A9: Part 858: Solar System Mechanics
by PhoenixGames on Jan.31, 2021, under Astral Realms, P-0, P0_A9, Software and Games, Spiritus Astrum
I have mostly finished the day/night system.
It was quite difficult, and I had to fix some tricky bugs, but I am extremely pleased with how it turned out.
All planets now have a gradual day/night cycle, that varies for each planet.
This day length is synced with the planet surface, so that when the player lands, the sun position and light settings are all consistent.
It is also synced with the server time, so it is consistent between runs as well.
This adds a lot of realism to the project.
I have also made some improvements to the surface to space transition by improving the light transitions from “space” to “surface” as the user passes through the atmosphere.