VectorLen


Returns the length of a vector. Syntax:

length=VectorLen(vector);


The Math
length=sqrt(sqr(x) + sqr(y) + sqr(z))
Geometrical Application
The given vector is red. The green line represents the flex length of the red vector. As you can see in this picture, a vector's distance from zero is its length.