Registry Mirror
Skip to content

Conversation

@PhineasFreak

@PhineasFreak PhineasFreak commented Nov 8, 2026 •

Copy link
Copy Markdown

This PR adds TiltEm support to RSS. All bodies should now have proper axial tilt!

The changes in this PR are not compatible with existing KSP saves due to the extensive changes needed in the initial RSS epoch, celestial orbital elements and their physical properties.

@github-actions

github-actions Bot commented Nov 8, 2026 •

Copy link
Copy Markdown

Download the artifacts for this pull request:

@PhineasFreak
PhineasFreak marked this pull request as draft November 9, 2026 13:22
- Fix all axial tilts to be set in ICRF and not parent body frame.
- Fix miscopied inclination values.
- Fix missing patch for current RSS Earth name (Kerbin).
{
@Orbit
{
@inclination = 179.9664374456217

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This always needs to be accompanied by @longitudeOfAscendingNode and @argumentOfPeriapsis with elements from the same HORIZONS page, see my comment on Discord.

- Axial tilt is now defined for all natural satellites relative to the Sun instead of the parent body (equatorial-aligned).
- New osculating elements. Fixes the incorrect inclination, LAN, ArgPe and Mean Anomaly when axial tilt is applied. Eccentricity and SMA are included to match the Principia initial state for better overall solar system simulation.
- New initial rotations for all bodies. Fixes the incorrect pole direction when axial tilt is applied.
- Bodies are now indexed by distance from the parent body instead of alphabetically. Easies maintenance.
- Fix body indexing by distance.
- Fix Earth internal name.
- Fix missing elements for the Uranus system.
- Correct the starting epoch to fix the osculating elements difference between TAI and TDB.
- Update the rotation periods of all bodies where applicable.
- Fix the initial rotations of Ganymede and Callisto.
- Tweak many other initial rotations to better match Principia.
Three different cases of corrections/workarounds for KSP/Kopernicus bugs:

- Uranus system: due to the axial tilt being larger than 90 degrees Uranus and its satellites appear to orbit retrograde.  Rotation periods for all bodies should be negative.
- Neptune system: Triton is in a retrograde orbit but tidally locked to Neptune. Rotation period should be negative.
- Pluto system: Pluto - Charon IRL is a tidally-locked binary system. Rotation periods should be identical for both bodies and at the same time match the orbital period of Charon.

New GM values are really only needed for the above systems. All others are included for completeness (and to make element calculations more accurate).
This is already internally set by TiltEm to 0/90 but we better define it explicitly lest some future update changes it.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants