- Home /
Question by
Lunte · Mar 17 at 12:29 PM ·
inputvaluesjitterflickering
Jittery Input Values with Gamepad Stick
Hi, i got these jittery values when i use my left gamepad stick. Is there any way to make it stay on e.g. 0.65 and then 0.63 or so when moving down. but make it a steady value? so when it comes from 0.63 it stays there until it hits 0.65 and when it comes from 0.65 it stays there until it hits 0.63. It seems so trivial, but i don't find a solution. lerping only makes the value move slower to the final shaky part again. Rounding doesn't seem to solve the issue as well. I ask, because this way my character is flickering between idle and walk when i hold the stick in a certain position. I use unitys new input system.
thanks in advance for any tip!
ezgif-5-06bf5c926d.gif
(28.1 kB)
Comment