Function
Body:setAllowSleep( allow )
When nothing happens to a Body in a while (nothing collides with it), it may be put to sleep to avoid simulation of that Body for a period of time. This method can be used to disable or enable this feature. (Enabled by default).
Synopsis
Body:setAllowSleep( allow )
Arguments
allow True for allow, false for disallow
Returns
(Nothing)
Copyright © 2006-2008 LÖVE Development Team.