Normalizing the vector when the magnitude is 0 will result in a divide by zero, leading to invalid velocities that break things elsewhere in the program (I dunno why this doesn't trigger floating point exceptions before leading to these problems, tho? haven't looked into it)
Normalizing the vector when the magnitude is 0 will result in a divide by zero, leading to invalid velocities that break things elsewhere in the program (I dunno why this doesn't trigger floating point exceptions before leading to these problems, tho? haven't looked into it)