Having a tough time with the Cinemachine 3 API. Trying to set the gain, previously max speed through code. Did this in the past with m_HorizontalAxis.m_MaxSpeed. I was able to find the CinemachineInputAxisController class but I can’t find how to access the axis from it. Along these same lines, I don’t see anyway to invert the axis. Any help is appreciated.
Just saw that you can set a negative gain to invert, but still can’t see how to access this through code.
Just needed to loop through controllers and access the input property.
wait how did you do that?
I am confused can you show code how did you exactly do that?
Use Gain instead of LegacyGain if you’re using new input system.
1 Like