Function
Body:getInertia( )
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.

Synopsis
inertia = Body:getInertia( )
Returns
inertia number The rotational inertial of the body.
Copyright © 2006-2010 LÖVE Development Team.