GetLocalGravity
Revision as of 12:02, 22 February 2017 by imported>Jazzisparis (Created page with "{{Function |origin = JIP |summary = Returns the acceleration (in Game Units per second squared) due to '''gravity''' in the specified '''axis''' for the current ce...")
< [[::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.