GetLocalGravity

Revision as of 13:18, 6 September 2011 by imported>DragoonWraith (typo)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
< [[::Category:Functions|Category:Functions]]

A function added by the Oblivion Script Extender.

Syntax:

(gravity:float) GetLocalGravity axis:axis

Returns the acceleration due to gravity in the specified axis for the current cell. Unless SetLocalGravityVector has been used, the X and Y components will always be zero.


See Also