Function
Shape:setDensity( density )
Sets the density of a Shape. Do this before calling Body:setMassFromShapes.
Synopsis
Shape:setDensity( density )
Parameters
density number The new density of the Shape.
Copyright © 2006-2010 LÖVE Development Team.