B2.Body:setGravityScale

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

Available since: Gideros 2012.2.2.1
Class: b2.Body

Description


Sets the gravity scale of the body.

 b2.Body:setGravityScale(scale)

Parameters

scale: (number) new gravity scale of the body