SetGravity

Set’s the current gravity acceleration vector. Each component is in m/s^2.

Arguments:

Gravity (Vector)
The new gravity acceleration vector.

Alternative:

x (float)
The x component of the new gravity acceleration vector.
y (float)
The y component of the new gravity acceleration vector.
z (float)
The z component of the new gravity acceleration vector.

Returns:

  • None