Added Vector2.setMagnitude, which sets the magnitude of the vector, keeping the same direction (though a negative magnitude will flip the vector direction)