B2.Body:getInertia: Difference between revisions
From GiderosMobile
No edit summary |
No edit summary |
||
| Line 8: | Line 8: | ||
(number) = b2.Body:getInertia() | (number) = b2.Body:getInertia() | ||
</source> | </source> | ||
=== Return values === | |||
'''Returns''' (number) The rotational inertia of the body about the local origin in kg-m^2.<br/> | '''Returns''' (number) The rotational inertia of the body about the local origin in kg-m^2.<br/> | ||
Revision as of 09:45, 23 August 2018
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.