- Home /
Question by
Vagabond_Jinn · Apr 24 at 08:21 PM ·
movementinput
OnMove Vector2 never returns to (0,0)
Hello, I'm trying to set up top-down 2D movement with the new input system. The player moves, but once they've started they never stop. The course I was following used the exact same code and got the (0,0) message whenever they released the key. The key up is registered but the OnMove value never returns to (0,0). I'm at my wit's end and would greatly appreciate any advice on this topic. Thank You.
screen-shot-2022-04-24-at-42709-pm.png
(122.1 kB)
screen-shot-2022-04-24-at-41632-pm.png
(63.4 kB)
Comment
Best Answer
Answer by Vagabond_Jinn · Apr 28 at 08:43 PM
The Action Type was set to Button. Switching it to Value fixed it. Rookie mistake.