making the player move faster depending on how far you push the joystick

Hey, I’m trying to make the player move depending on how far you push the joystick (the further I press the joystick to the right the faster he runs, altering through 3 different speeds and animations).
How do I start with this? Can you guys give me any clues, commands that I need to research in order to accomplish this?

See if this helps

You need to get the horizontal & vertical input & multiply it by your speed. The inputs will be floats between -1 & 1. If you want 3 distinct speeds put your results through if statements so p, for e.g. If it is between x&y speed=z, if it is between a&b speed = c etc

1 Like