World:getGravity

Edit

Returns the gravity of the World.

xg, yg, zg = World:getGravity()

Arguments

None

Returns

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.

See also