28-09-2020, 07:59 AM
(This post was last modified: 28-09-2020, 09:41 AM by josemendez.)
IMHO, It makes no sense changing Time.fixedDeltaTime when adjusting time scale. Changing the physics timestep (fixedDeltaTime) will always result in different physics behavior no matter what physics engine you use (as it affects convergence speed), so this is obviously something to avoid. The right approach would be to use the same timestep regardless of timescale, and interpolate physics state during frames in which physics haven't been updated (enabling solver interpolation in Obi, or rigidbody interpolation in Unity).
Why on earth this is recommended in the Unity docs is beyond me.
Why on earth this is recommended in the Unity docs is beyond me.