Body:setInertia

Set the inertia of a body.

This value can also be set by the fourth argument of Body:setMass.

Function

Synopsis

Body:setInertia( inertia )

Arguments

number inertia
The new moment of inertia, in kilograms per meter squared.

Returns

Nothing.

See Also


Other Languages

Personal tools