This function calculates the dot product of two vectors.
The dot product multiples the X values together, the Y Values together and the Z values together, then sums these results (X x X + Y x Y + Z x Z).
VectorDot([Vector 1], [Vector 2])
Vector 1 is a pipe-bar delimited list representing the first vector (X|Y|Z).
Vector 2 is a pipe-bar delimited list representing the second vector (X|Y|Z).
|VectorDot("2|4","9|8")||Will return the dot product of the two 2D vectors, 50.
(2 x 9 + 4 x 8 = 50)
|VectorDot("2|4|5","9|8|10")||Will return the dot product of the two 3D vectors, 100.
(2 x 9 + 4 x 8 + 5 x 10 = 100)
Due to floating point precision, some calculations may not be as precise as expected.
This can be avoided by following the advice in the topic Info: Floating Point Precision.