I need some maths help here! When generating planets in stellar systems, I used empties that where animated for the orbits. However, the type of planet depends on the distance the planet is from the star, meaning that the easy way would produce the same planets for the same type of star. Also all these planets would be aligned the same way, and there would be a few animations running full time.
The solution or second option, is to give a random (calculated) position for the planets and establish their period according with time. Meaning that the planet revolution around the star will be the result of the star seed, the planet distance and the general time. I guess some trigonometry has to be used…
I can get the planet at a certain distance, but can’t make them orbit. Here 's a simplified example.
Appreciate your assistance!