hi, how to make CM freelook work with both mouse and gamepad at same time. NOT using new input system. tried tons of scrips. nothing worked. also dont see any options in the inspector for more than one string name.
thanks.
Hi
You should use the new input system.
But if for some reason that is not an option, here are some possible suggestions:
Do you want to use mouse and gamepad at the same time?
If not, then you could have two vcams, one setup for mouse, and one for gamepad. If you detect that user is using gamepad, then active gamepad vcam, otherwise use the mouse vcam.
If yes, then you could leave the Input axis name blank. Then drive the freelook’s X and Y axis values directly from a script that gets both mouse and gamepad axis values. (This option could work in the if not case too)
that sounds great. the final solution. what code to input my mouse+gamepad look control into free look camera?
also, i am trying this with bolt, i have cinemachine installed with it, but there seems to be missing nodes because there is only “Set_m X/Y Axis” and nothing works including this. there is “expose cinemachine free look” settings, but no way to create them or input a string or vector into the set x or y axis. any word on this? i am having trouble finding which nodes to control axis input name or float values.
You get the X and Y axis input from your input device, and then set freelook vcam’s m_XAxis and m_YAxis.