Body:setInertia

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 * pixel squared.

Returns

Nothing.

See Also


doc_love
2017-03-21 15:41:27
Comments
Leave a Comment

Please login to continue.