Hey all!

So I’m working on a little system of creating random solar systems for my game. However I’m running into an issue where I’m not sure how to create the orbit spline that shows the path of the planets. Right now Im using a 3d mesh that I imported (The red line) and scaling it up.

I take the planet offset, which is a float distance from 0,0,0 to Value,0,0 relatively.

Then I just guess and set the spline relative size by taking that value and dividing it by a number.

The first orbit seems to be okay but I think because the value is so big (3000-4000) the further I get the less chance of it fitting. It’s almost always off on the 2nd orbit probably because I need to divide by like 70.05123 u know what i mean?

Does anyone have an idea how I get properly set this system up?

THANKS!!!