#Gamepad Sprinting

1 messages · Page 1 of 1 (latest)

unkempt creek
#

So i noticed when i used the joystick to move and b button to Sprint. It wont Sprint.

But if i Use the D-pad to move then B to sprint is fine.

It seems like it wants an like an absolute forward value to run.

I been trying to look through the code i cant seem to find what causes this.

red saddle
unkempt creek
#

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.

red saddle
unkempt creek
#

Im not quite sure what script this handled in

unkempt creek
#

oh is it in fpsmovement?

red saddle
unkempt creek
#

this should work but it doesnt.

#

Im not sure what causing this to stop the joy stick from sprinting but the WASD and Dpad work fine when trying to sprint.