B2.Body:getInertia

From GiderosMobile
Revision as of 13:38, 23 August 2018 by Hgy29 (talk | contribs)
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Available since: Gideros 2012.2.2

Description


Returns the rotational inertia of the body about the local origin in kg-m^2.

(number) = b2.Body:getInertia()

Return values

Returns (number) The rotational inertia of the body about the local origin in kg-m^2.