I have a variable that locks the movement. If the player presses and holds a move button while locked, the code makes the velocity (0,0). When the variable unlocks it, its keeping the velocity at (0,0) until the button is released. Then the movement works the way it should. I want the player to start moving the second the animation finishes, without having to manually release the movement buttons.
Instead of changing the rigidbody's velocity, is there a way to disable the input system's action for WASD? Or should I make a separate action map without WASD for when movement is supposed to be frozen and then switch back?