#Gamepad Sprinting
1 messages · Page 1 of 1 (latest)
Isn't it something related to the Unity Input System? Or do you mean that the input is processed correctly, and the issue is with the Animator Controller values?
Yes the input is processed correctly. I think the issue may be with the animator control values Im not sure.
so i get a vector 2 from the input. It seems like it will only run if the vector2 is (0,1).(which the keyboard can do and the d-pad can do)
but the joystick at it's straightest will return (0.04f,.0.96f) which does not meet the parameters to sprint.
hmm, in this case you could divide the input value by 0.9 and clamp it in [0;1] range. Possibly there is a more elegant way of handling input per device, but I am not aware of that unfortunately 🙃
Im not quite sure what script this handled in
it's in the FPSMovement, OnMove specifically