B2.World:getGravity

From GiderosMobile
Revision as of 10:04, 23 August 2018 by Hgy29 (talk | contribs) (Created page with "__NOTOC__ '''Available since:''' Gideros 2011.6<br/> === Description === <br /> Returns the gravity vector.<br /> <br /> <source lang="lua"> (number) (number), = b2.World:getG...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Available since: Gideros 2011.6

Description


Returns the gravity vector.

(number) (number), = b2.World:getGravity()

Returns (number) x component of gravity vector.
Returns (number) y component of gravity vector.