B2.Body:getInertia

Revision as of 10:58, 3 September 2018 by Hgy29 (talk | contribs)


Available since: Gideros 2012.2.2
Class: b2.Body

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.