World:setGravity

Sets the gravity of the World.

World:setGravity(xg, yg, zg)

Arguments

NameTypeDescription
xgnumberThe x component of the gravity force.
ygnumberThe y component of the gravity force.
zgnumberThe z component of the gravity force.

Returns

Nothing

See also