Godot Version
4.2.1
Question
Hello all ,
Im new to godot and 3d , i learn each day something new , i really like to understand what im doing and not just copy paste .
so i saw that also the GODOT template and also few online tutorials are using something like :
Vector2 inputDir = Input.GetVector("move_forwards", "move_backwards", "move_left", "move_right");
Vector3 modeDir = (Transform.Basis * new Vector3(inputDir.X, 0, inputDir.Y)).Normalized();
reading i understand that it is creating 2d vector with negative and positive and related to something that called “Dead zone” .
and then it converted to vector3d .
Does someone knows where i can learn and understand what those 2 lines above does ? tutorials or articles ?
Thanks