Difference between revisions of "Body:getInertia"

m (1 revision: Importing from potato (again).)
(No difference)

Revision as of 16:17, 14 February 2010

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