LunaMultiplayer / TiltEm

Planetary axial tilt for KSP

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Find a way to get the correct "Correction value"

gavazquez opened this issue · comments

commented

Whenever you switch to inverse rotation and tilt the planetarium the orbits of the unloaded vessels are adjusted automatically.

Unfortunately, they are not perfect and I had to use a "correction value"

Images:

With the planetarium not rotated:

image

On the next image the planetarium is rotated and as you can see the orbit is not the same, even tough the orbital parameters are

image

Finally, manually searching for a fixed value, the orbit matches

image

--

This value is specific for a savegame so it might be related with the game time or some other value.
Unfortunately I didn't find a way to get it automatically

commented

It seems that this value is related to the Planetarium.InverseRotAngle but there must be some operation involved with the orbit.period aswell....

image

image

commented

Fixed with 9c03b5c