Function
Body:setVelocity( x, y )
Sets a new linear velocity for the Body. This function will not accumulate anything; any impulses previously applied since the last call to World:update will be lost.
Synopsis
Body:setVelocity( x, y )
Arguments
x The x-component.
y The y-component.
Returns
(Nothing)
Copyright © 2006-2008 LÖVE Development Team.