B2.Body:setGravityScale

From GiderosMobile
Revision as of 13:48, 23 August 2018 by Hgy29 (talk | contribs)

Available since: Gideros 2012.2.2.1

Description


Sets the gravity scale of the body.

 b2.Body:setGravityScale(scale)

Parameters

scale: (number) new gravity scale of the body