Difference between revisions of "SetLocalGravityVector"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>DragoonWraith
(and the last of the three)
 
imported>DragoonWraith
m (forgot to fix see also link)
 
Line 18: Line 18:


* [[GetLocalGravity]]
* [[GetLocalGravity]]
* [[SetLocalGravityVector]]
* [[SetLocalGravity]]


[[Category:Functions]]
[[Category:Functions]]

Latest revision as of 12:20, 6 September 2011

< [[::Category:Functions|Category:Functions]]

A function added by the Oblivion Script Extender.

Syntax:

(void) SetLocalGravityVector xAccel:float yAccel:float zAccel:float

Sets the X, Y, and Z components of local acceleration due to gravity. This can be used to cause gravity to act in a non-vertical direction, which might be useful for simulating water currents, for example.


See Also