World:setGravity
EditSets the gravity of the World.
Arguments
Name | Type | Description |
xg | number | The x component of the gravity force. |
yg | number | The y component of the gravity force. |
zg | number | The z component of the gravity force. |
Returns
Nothing
Arguments
Name | Type | Description |
gravity | Vec3 | The gravity force. |
Returns
Nothing
See also
World:getGravity
World