World:setGravity

Edit

Sets the gravity of the World.



Arguments

NameTypeDescription
xgnumber The x component of the gravity force.
ygnumber The y component of the gravity force.
zgnumber The z component of the gravity force.

Returns

Nothing

Arguments

NameTypeDescription
gravityVec3 The gravity force.

Returns

Nothing

See also