I’m a beginner for unity. I’m using unity 6, cinemachine 3.1. I want to create a zoom function. I need to get the orbital scale value in CinemachineInputAxisController, but I can’t found it in script. help me, plz.
I don’t understand what you want to do. Are you trying to control the zoom by script? Or are you trying to set up the InputAxisController so that the user can control the zoom?
I want to control the zoom by script.
But I don’t know how to get that varible(orbital scale value) in script.
Try CinemachineOrbitalFollow.RadialAxis.Value. Don’t forget the set the RadialAxis.Range appropriately, by default it’s zero.