GetLocalGravity
< [[::Category:Functions|Category:Functions]]
A function added by the JIP NVSE Plugin.
Description
Returns the acceleration (in Game Units per second squared) due to gravity in the specified axis for the current cell.
Syntax
(gravity:float) GetLocalGravity axis:X/Y/Z
Example
set fGravityZ to GetLocalGravity Z
Notes
- Unless SetLocalGravityVector has been used, the X and Y components will always be zero.