VectorMagnitude

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
< [[::Category:Functions|Category:Functions]]

A function added by the Oblivion Script Extender.

Syntax:

(magnitude:float) VectorMagnitude vector:array 
(magnitude:float) VecMag vector:array

Returns the magnitude of a vector (square-root of the sum of the squares of its elements).