B2.Body:getMass

This page contains changes which are not marked for translation.


Available since: Gideros 2012.2.2
Class: b2.Body

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)