Fix lower limit for wheel moment of inertia #341
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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 of0.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.00001which 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.