LunaMultiplayer / TiltEm

Planetary axial tilt for KSP

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Explain TiltX and TiltZ

Kerbinator-Fras opened this issue · comments

I'm now remaking RSS based on inclination of J2000 eclieptic=0
and problem arises on TiltX and TiltZ
https://en.wikipedia.org/wiki/Axial_tilt#Solar_System_bodies
There's AxialTilt, RightAscention&Declination of North Pole.
orbital inclination (Solar orbit) and LAN may also be taken into account, for reference=eclieptic

Give out a set of formulas for such coordinate translation, and explain TiltX and TiltZ.

Result 01
sin(LAN)=sin(TiltZ)/sin(i)
cos(i)=cos(TiltX)cos(TiltZ)
This is useful for trying out axis of regular-mooned Planets as regular moons' Orbit is usually right above the equator
Then I'll compare this result set with Wikipedia RightAscention&Declination data

Fine.
I've figured it out, write it into docs.