snapshot interpolation default catchup/slowdown speeds increased from 1% to 5%

This commit is contained in:
vis2k 2023-03-12 10:28:44 +08:00
parent 7137ace5fd
commit 0c7f8f005d

View File

@ -28,11 +28,11 @@ public class SnapshotInterpolationSettings
[Tooltip("Local timeline acceleration in % while catching up.")] [Tooltip("Local timeline acceleration in % while catching up.")]
[Range(0, 1)] [Range(0, 1)]
public double catchupSpeed = 0.01f; // 1% public double catchupSpeed = 0.05f; // 5% (1% was a bit too slow.)
[Tooltip("Local timeline slowdown in % while slowing down.")] [Tooltip("Local timeline slowdown in % while slowing down.")]
[Range(0, 1)] [Range(0, 1)]
public double slowdownSpeed = 0.01f; // 1% public double slowdownSpeed = 0.05f; // 5% (1% was a bit too slow.)
[Tooltip("Catchup/Slowdown is adjusted over n-second exponential moving average.")] [Tooltip("Catchup/Slowdown is adjusted over n-second exponential moving average.")]
public int driftEmaDuration = 1; // shouldn't need to modify this, but expose it anyway public int driftEmaDuration = 1; // shouldn't need to modify this, but expose it anyway