Is it possible to set up something like a CinemachineBlendDefinition with a Time property that is based on some dynamic value, such as player move speed? Thanks!
You can probably do it using the CinemachineCore.GetBlendOverride delegate.
https://docs.unity3d.com/Packages/c…CinemachineCore.GetBlendOverrideDelegate.html
1 Like
Thank you! This works, but if the player changes speed in the middle of a blend, the transition Time remains based on the player’s original speed when the blend was initiated.
What I would like to try is a transition between two cameras that is based on the player’s speed as it fluctuates in real time. Maybe there is a different strategy for this that I am overlooking?
You can implement a continuous blend with the CinemachineMixingCamera. You’ll need custom code to manipulate the blend weights according to your needs.