GetLocalGravity

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
< [[::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