I’m setting up cinematic camera shots for different abilities in a game. Each ability has its own set of virtual cameras, and configures/enables them at the appropriate moments.
That’s working well, but I have one problem: configuring the blends. Right now, I just have unique names for each camera, so I can put everything into the CinemachineBrain’s custom blend list. I imagine that’s going to get annoying as I add more and more abilities, however, and I want to be able to easily adjust the durations of the blends on the fly.
BlendListCamera sounds like what I need: a list of cameras with specific blends between each camera.
However, I need to trigger these blends via a script, rather than just doing it at specific times. How can I do that?
StateDrivenCamera sounded relevant, but it looks like it wants an entire animator, which is a bit overkill – all I need is to say “okay, next camera” to advance through a list of virtual cameras.