VectorMagnitude

From the Oblivion ConstructionSet Wiki
Revision as of 00:27, 10 August 2010 by imported>DragoonWraith
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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).