B2.Body:getMass

Revision as of 11:40, 23 August 2018 by Hgy29 (talk | contribs)

Available since: Gideros 2012.2.2

Description


Returns the total mass of the body in kilograms (kg).

(number) = b2.Body:getMass()

Return values

Returns (number) The total mass of the body in kilograms (kg)