World:setGravity

Sets the gravity of the World.

World:setGravity(xg, yg, zg)

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

See also