Is it possible to manually control blending in a State Driven Camera?

Hi, let me explain the exact feature I’m looking for. I realize that you can create custom blend options, in terms of being able to set the interpolation type, and time it takes to blend.

What I really need, is the ability to manually control the blend via code, so that at any given point, I could be blended .5f Camera Left and .5f Camera Right - without continuing.

Basically what I’d like to do right now in the moment is have a Cam Close and Cam Far. As the player moves up a ladder, Cam Close blends into Cam Far based on the player’s Y position. Not simply a blend over time.

I could of course find a way to control the camera’s position via code, but I find that breaks the beautify of having virtual cameras and would require me to make lots of changes to values as opposed to just controlling a float to blend between 2 cameras.

If this is already available, please point me to the documentation. If not, I think it would be a great addition.

https://docs.unity3d.com/Packages/com.unity.cinemachine@2.7/manual/CinemachineMixingCamera.html

Wow, how did I miss this for so long ':slight_smile:
Thanks Gregoryl

1 Like