Difference between revisions of "Body:getInertia"

m (included link to other languages)
Line 15: Line 15:
 
* [[parent::Body]]
 
* [[parent::Body]]
 
[[Category:Functions]]
 
[[Category:Functions]]
{{#set:Description=Gets the rotational inertia of the body.
+
{{#set:Description=Gets the rotational inertia of the body.}}
}}
+
{{#set:Since=000}}
 
== Other Languages ==
 
== Other Languages ==
 
{{i18n|Body:getInertia}}
 
{{i18n|Body:getInertia}}

Revision as of 10:40, 25 March 2011

Gets the rotational inertia of the body.

The rotational inertia is how hard is it to make the body spin. It is set with the 4th argument to Body:setMass, or automatically with Body:setMassFromShapes.

Function

Synopsis

inertia = Body:getInertia( )

Arguments

None.

Returns

number inertia
The rotational inertial of the body.

See Also


Other Languages