I have some basic top down movement:
if player.velocity.length() < speed:
player.velocity += player.input_vector * acceleration
elif player.velocity.length() > speed:
player.velocity -= player.input_vector * deceleration
print(player.velocity)
player.move_and_slide()
sometimes, when i press 2 inputs at the same time, instead of going diagonally, it doesn't change directions. I know the input vector is working fine though (due to print statements and the animation blendspace working fine)
I have never seen this happen before but I have no idea what im doing wrong