B2.Body:getInertia: Difference between revisions

From GiderosMobile
No edit summary
m Text replacement - "</source" to "</syntaxhighlight"
 
(One intermediate revision by the same user not shown)
Line 6: Line 6:
=== Description ===
=== Description ===
Returns the rotational inertia of the body about the local origin in kg-m^2.
Returns the rotational inertia of the body about the local origin in kg-m^2.
<source lang="lua">
<syntaxhighlight lang="lua">
(number) = b2.Body:getInertia()
(number) = b2.Body:getInertia()
</source>
</syntaxhighlight>


=== Return values ===
=== Return values ===

Latest revision as of 16:00, 12 July 2023