Skip to content

Commit

Permalink
Remove the skipGroundPositioning *cleverness*
Browse files Browse the repository at this point in the history
  • Loading branch information
siimav committed Oct 20, 2024
1 parent 032c594 commit 5288695
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -70,12 +70,6 @@ public void OnPartUnpack()
{
GameEvents.onVesselWasModified.Add(OnVesselWasModified);
subscribedToVesselModifEvent = true;

// By the time the code gets here, the stock CheckGroundCollision() method has been run at least once.
// With the extra world-space joints, it's safe to make the assumption that the vessel will
// never shift in a significant way so any further collision checks aren't necessary.
// This also means that stock code will no longer shift the vessel up or down when coming off rails.
vessel.skipGroundPositioning = true;
}
else
{
Expand Down
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Kerbal Joint Reinforcement, v3.8.0
Kerbal Joint Reinforcement
==========================

Physics stabilizer plugin for Kerbal Space Program
Expand Down Expand Up @@ -112,6 +112,10 @@ Decoupler Stiffening Extension Types
***********************
****** CHANGELOG ******
***********************
v3.8.2

--Remove the skipGroundPositioning cleverness

v3.8.1

--Fix issues with cheating vessels into orbit
Expand Down

0 comments on commit 5288695

Please sign in to comment.