Skip to content

Fix lower limit for wheel moment of inertia#341

Merged
Phantomical merged 1 commit into
KSPModdingLibs:masterfrom
MajorNr01:WheelInertiaLimitFix
Jan 20, 2026
Merged

Fix lower limit for wheel moment of inertia#341
Phantomical merged 1 commit into
KSPModdingLibs:masterfrom
MajorNr01:WheelInertiaLimitFix

Conversation

@MajorNr01
Copy link
Copy Markdown
Contributor

When the game calculates the moment of inertia for wheels, it sets a hard-coded lower limit of 0.01. This is much larger than the calculated moment of inertia of most landing gear wheels (e.g. the LY-10 Small Landing Gear has a moment of inertia of 0.000648).

This causes significant forces on small aircraft (~10t) during touchdown as the wheels spin up. As a result, the craft pitches down if the wheels are not spinning and pitches up if the wheels are still spinning. This is correct in principle but very exaggerated in small aircraft due to the inappropriately large moment of inertia.

This patch changes the lower limit to 0.00001 which is lower than the correct moment of inertia of the stock landing gears.

The chosen lower limit is kind of arbitrary (I just added three zeroes) and I am completely open to lowering it even further or removing it entirely.

@Phantomical
Copy link
Copy Markdown
Collaborator

Thanks for the PR!

@Phantomical Phantomical merged commit baf117f into KSPModdingLibs:master Jan 20, 2026
Phantomical pushed a commit to Phantomical/KSPCommunityFixes that referenced this pull request Jan 20, 2026
When the game calculates the moment of inertia for wheels, it sets a hard-coded lower limit of `0.01`. This is much larger than the calculated moment of inertia of most landing gear wheels (e.g. the LY-10 Small Landing Gear has a moment of inertia of `0.000648`).

This causes significant forces on small aircraft (~10t) during touchdown as the wheels spin up. As a result, the craft pitches down if the wheels are not spinning and pitches up if the wheels are still spinning. This is correct in principle but very exaggerated in small aircraft due to the inappropriately large moment of inertia.

This patch changes the lower limit to `0.00001` which is lower than the correct moment of inertia of the stock landing gears.

The chosen lower limit is kind of arbitrary (I just added three zeroes) and I am completely open to lowering it even further or removing it entirely.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants