Changing speed for Virtual Camera

So I have a cinemachine camera with the new new Input system controlled by the Cinemachine Input Provider script

8163635--1061834--upload_2022-5-28_19-46-33.png

In the Aim section [Aim is set to POV] under Vertical Axis and Horizontal Axis there is a value called Speed… How do I modify that value via script in runtime? I tried the docs but didnt find anything

8163635--1061840--upload_2022-5-28_19-48-1.png

8163635--1061840--upload_2022-5-28_19-48-1.png

vcam.GetCinemachineComponent().m_HorizontalAxis.m_MaxSpeed = bla

7 Likes

I realised I never replied… Here I am after 2 years… So yeah this did the trick

Thanks, cheers

1 Like