You could try rotating the move direction before sending it to your move_command function
move_command
move_command(move_dir.rotated(rotation.y))