Add option to use smoothDeltaTime

Please, add ability to use Time.smoothDeltaTime instead of Time.deltaTime to make camera movement more smooth. I have deltaTime spikes every few seconds and this get results in jittered camera movement. But, if I use smoothDeltaTime camera moves very smoothelly without jittering.

How are you testing this? Did you modify CM Brain?

Yes, I have made copy of Cinemachine package to Assets and modify it

This is a good suggestion. We will look into the implications of adding this. Thank you for bringing this up.

any updates on this?

This was not implemented, but there is another feature that makes it easy you you to do it yourself. Have a behaviour somewhere that calls Time.smoothDeltaTime in Update(), and pushes the value to CinemachineCore.CurrentTimeOverride. CM will then use that value instead of deltaTime.

https://docs.unity3d.com/Packages/com.unity.cinemachine@2.8/api/Cinemachine.CinemachineCore.html#Cinemachine_CinemachineCore_CurrentTimeOverride

1 Like