- Home /
Question by
ProNoob2 · Apr 19, 2020 at 10:17 AM ·
inputmousepositionscreentoworldpointinput.getaxisgetaxis
Input.GetAxis with MouseMovement
I want to have values between -1 and 1 using Input.GetAxis("Vertical"). The type selected in ProjectSettings >> Input >> Vertical is MouseMovement. I've tried calculating the deltaPosition of the mouse and then dividing it with the current input.mousePosition but haven't succeeded yet. Any help would be awesome.
Comment