Skip to content

Commit

Permalink
New KSP performance patch : [**CollisionManagerFastUpdate**](#174) : …
Browse files Browse the repository at this point in the history
…3-4 times faster update of parts inter-collision state, significantly reduce stutter on docking, undocking, decoupling and joint failure events.
  • Loading branch information
gotmachine committed Jan 4, 2024
1 parent 934ff50 commit a411542
Show file tree
Hide file tree
Showing 6 changed files with 452 additions and 4 deletions.
2 changes: 1 addition & 1 deletion GameData/KSPCommunityFixes/KSPCommunityFixes.version
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"NAME": "KSPCommunityFixes",
"URL": "https://raw.githubusercontent.com/KSPModdingLibs/KSPCommunityFixes/master/GameData/KSPCommunityFixes/KSPCommunityFixes.version",
"DOWNLOAD": "https://github.com/KSPModdingLibs/KSPCommunityFixes/releases",
"VERSION": {"MAJOR": 1, "MINOR": 32, "PATCH": 1, "BUILD": 0},
"VERSION": {"MAJOR": 1, "MINOR": 33, "PATCH": 0, "BUILD": 0},
"KSP_VERSION": {"MAJOR": 1, "MINOR": 12, "PATCH": 5},
"KSP_VERSION_MIN": {"MAJOR": 1, "MINOR": 8, "PATCH": 0},
"KSP_VERSION_MAX": {"MAJOR": 1, "MINOR": 12, "PATCH": 5}
Expand Down
4 changes: 4 additions & 0 deletions GameData/KSPCommunityFixes/Settings.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -371,6 +371,10 @@ KSP_COMMUNITY_FIXES
// Can provide significant performance gains when having many mods using IMGUI heavily.
IMGUIOptimization = true
// 3-4 times faster update of parts inter-collision state, significantly reduce stutter on
// docking, undocking, decoupling and joint failure events.
CollisionManagerFastUpdate = true
// ##########################
// Modding
// ##########################
Expand Down
3 changes: 2 additions & 1 deletion KSPCommunityFixes/KSPCommunityFixes.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
<DebugType>portable</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<DefineConstants>TRACE;ENABLE_PROFILER</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
Expand Down Expand Up @@ -125,6 +125,7 @@
<Compile Include="Performance\AsteroidAndCometDrillCache.cs" />
<Compile Include="BugFixes\DoubleCurvePreserveTangents.cs" />
<Compile Include="BugFixes\RestoreMaxPhysicsDT.cs" />
<Compile Include="Performance\CollisionManagerFastUpdate.cs" />
<Compile Include="Performance\CommNetThrottling.cs" />
<Compile Include="Performance\ContractProgressEnumCache.cs" />
<Compile Include="Performance\DisableHiddenPortraits.cs" />
Expand Down
Loading

0 comments on commit a411542

Please sign in to comment.