B2.Body:getGravityScale

From GiderosMobile
Revision as of 10:28, 24 August 2018 by Hgy29 (talk | contribs)

Available since: Gideros 2012.2.2.1
Class: b2.Body

Description


Returns the gravity scale of the body.

(number) = b2.Body:getGravityScale()

Return values

Returns (number) The gravity scale of the body