Function
Body:setMass( x, y, m, i )
Sets the mass properties directly. If you're not sure what all this stuff means, you can use Body:setMassFromShapes after adding shapes instead.
Synopsis
Body:setMass( x, y, m, i )
Arguments
x The x-component of the center of mass in local coordinates.
y The y-component of the center of mass in local coordinates.
m The mass.
i The interia.
Returns
(Nothing)
Copyright © 2006-2008 LÖVE Development Team.