Hello! I was trying to do a 2D movement using Input.get_vector() to get the Input and I thougth it was then necessary to normalize the vector, but it seems like it’s already normalized! This is my code (simplified version): `
var direction = Input.get_vector(“left”,“right”,“up”,“down”)
velocity = direction * 100
move_and_slide()`
Does anybody know if it’s already normalized? Thanks.
Technically it’s not normalized. Normalized vectors always have a length of exactly 1. The input vector can have any length in the range of 0 to 1 (if using an analog joystick), but never more than 1.