Function
Body:setY( y )
In rare cases, you might want to set just the y-component of a Body, but when you need to set both components, you should use Body:setPosition.
Synopsis
Body:setY( y )
Arguments
y The new y-component.
Returns
(Nothing)
See Also
Copyright © 2006-2008 LÖVE Development Team.