Body:getInertia

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.

Function

Synopsis

inertia = Body:getInertia( )

Arguments

None.

Returns

number inertia
The rotational inertial of the body.

See Also


doc_love
2017-03-21 15:40:58
Comments
Leave a Comment

Please login to continue.