PhysicsOptimizer: lower default resync interval to 1/4

1/8 caused intermittent physics instability on busy saves. 1/4 is a
better balance between update frequency and stability.
This commit is contained in:
Seton Carmichael 2026-09-11 15:19:21 -04:00
parent aec4d2ecc4
commit b25496bbe4
2 changed files with 2 additions and 2 deletions

View file

@ -13,7 +13,7 @@ public class PhysicsSettings
// LOD fast-path tier // LOD fast-path tier
public bool OptimizerEnabled = true; public bool OptimizerEnabled = true;
public float DistanceThreshold = 30f; public float DistanceThreshold = 30f;
public int ResyncInterval = 8; public int ResyncInterval = 4;
// Auto-freeze tier // Auto-freeze tier
public bool AutoFreezeEnabled = true; public bool AutoFreezeEnabled = true;

View file

@ -9,7 +9,7 @@ namespace S3.Modules.PhysicsOptimizer;
static class PhysicsSettingsUI static class PhysicsSettingsUI
{ {
static readonly int[] ResyncOptions = { 1, 2, 4, 8, 16 }; static readonly int[] ResyncOptions = { 1, 2, 4, 8, 16 };
static readonly string[] ResyncLabels = { "1/1 (max quality)", "1/2", "1/4", "1/8 (default)", "1/16" }; static readonly string[] ResyncLabels = { "1/1 (max quality)", "1/2", "1/4 (default)", "1/8", "1/16" };
static string _addInput = ""; static string _addInput = "";
static string _toRemove = null; // deferred to avoid mutating list during enumeration static string _toRemove = null; // deferred to avoid mutating list during enumeration