-
-
Notifications
You must be signed in to change notification settings - Fork 3
Home
When you are below 100K meters on Kerbin you are using the "inverse rotation" mode. This means that Kerbin is static and all the other planets and sun move around Kerbin. This is just part of how KSP works and cannot be avoided. If you don't switch to inverse rotation, then Kerbin moves and when you try to land your vessel explodes.
When you're above 100K meters (on Kerbin, but that altitude is different depending on the planet), then everything is back to normal and all the planets move around the sun.
You can see if you're in inverse rotation or not by checking the celestialbody.inverserotation field on your current main body.
Note that while you're in the tracking station, you're not in inverse rotation as you don't have an active vessel below the threshold altitude
--
When you're NOT in inverse rotation, TiltEm just tilts the planet transform using a harmony patch and then you see the planet tilted.
When you're in inverse rotation, the whole planetarium must be tilted, so the orbit of the other planets are in the correct orbital plane. At the same time, the planet is tilted back to 0° as otherwise you'd have a tilted planet + tilted planetarium.
When you're tilting the planetarium, the vessels that are in track_physics mode must be adjusted. This is done in a onRotatingFrameTransition custom event that moves them around to the correct orbital parameters based on the planetarium tilt. This event resets the planet/planetarium aswell.