perf: disable interp for now

This commit is contained in:
mischa 2024-04-09 11:35:47 +08:00
parent 33f85acc31
commit bab559f2b6

View File

@ -92,7 +92,8 @@ protected virtual void Awake()
// in fast mode, we need to force enable Rigidbody.interpolation.
// otherwise there's not going to be any smoothing whatsoever.
predictedRigidbody.interpolation = RigidbodyInterpolation.Interpolate;
// PERF: disable this for now!
// predictedRigidbody.interpolation = RigidbodyInterpolation.Interpolate;
// cache computations
velocitySensitivitySqr = velocitySensitivity * velocitySensitivity;