Topic was automatically imported from the old Question2Answer platform.
Asked By
YossafHarz
Hi everyone, just as the title of the thread says I wanna know if there’s a way to do that the character (for example) jump more depending on how much a button is pressed or that the character movement speed vary by the pressure button sensitivity.
Use Input.get_action_strength() to know how much an action is pressed. This only works with gamepad input, not keyboard/mouse input (they’ll return either 0 or 1).
Well. That’s so bad, but thanks for answer.
YossafHarz | 2020-10-13 20:34
To get analog strength from arbitrary keys, you’d need the player to use one of those analog keyboards (like the ones made by Wooting). These are definitely niche products