Function
Body:setLinearDamping( ld )
Sets the linear damping of a Body

See Body:getLinearDamping for a definition of linear damping.

Linear damping can take any value from 0 to infinity. It is recommended to stay between 0 and 0.1, though. Other values will make the objects look "floaty".

Synopsis
Body:setLinearDamping( ld )
Parameters
ld number The new linear damping
See Also
Body:getLinearDamping  
Copyright © 2006-2010 LÖVE Development Team.