SetLocalGravityVector

Revision as of 13:20, 6 September 2011 by imported>DragoonWraith (forgot to fix see also link)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
< [[::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