Function
Body:setLinearVelocity( 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:setLinearVelocity( x, y )
Parameters
x number The x-component of the velocity vector.
y number The y-component of the velocity vector.
See Also
Body:getLinearVelocity  
Copyright © 2006-2010 LÖVE Development Team.