SetLocalGravityVector

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