Difference between revisions of "Body:getInertia"

m (1 revision: Importing from potato (again).)
m (included link to other languages)
Line 1: Line 1:
 
 
Gets the rotational inertia of the body.
 
Gets the rotational inertia of the body.
  
Line 18: Line 17:
 
{{#set:Description=Gets the rotational inertia of the body.
 
{{#set:Description=Gets the rotational inertia of the body.
 
}}
 
}}
 +
== Other Languages ==
 +
{{i18n|Body:getInertia}}

Revision as of 07:35, 26 January 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