- Home /
what is Vector3.normalized?
What does it mean to normalize? What does this give me?
Vector3.normalized
var normalized : Vector3 Description Returns this vector with a magnitude of 1 (Read Only).
When normalized, a vector keeps the same direction but its length is 1.0.
Note that the current vector is unchanged and a new normalized vector is returned. If you want to normalize the current vector, use Normalize function.
If the vector is too small to be normalized a zero vector will be returned.
See Also: Normalize function.
Answer by Jesse Anders · Feb 13, 2011 at 07:43 AM
To normalize a vector means to make it unit length. In other words, regardless of what the length of the vector was prior to normalization, after normalization it will have the same direction but have a length of 1 (within numerical limits of course, and provided its original magnitude was large enough that the division could be performed).