- Edited
Elroy and still doesnt work
Of course it doesn't but now you have a clue about why it isn't working. If input_dir
is (0,0) this means that Input.get_vector()
doesn't return a proper direction vector when you press your commands. Check if action names you use as arguments when calling Input.get_vector()
are actually defined in project settings.