B2.Body:setLinearVelocity: Difference between revisions
From GiderosMobile
No edit summary |
No edit summary |
||
| Line 8: | Line 8: | ||
b2.Body:setLinearVelocity(x,y) | b2.Body:setLinearVelocity(x,y) | ||
</source> | </source> | ||
'''x | '''x''': (number) x coordinate of the linear velocity ''''''<br/> | ||
'''y | '''y''': (number) y coordinate of the linear velocity ''''''<br/> | ||
Revision as of 09:14, 23 August 2018
Available since: Gideros 2011.6
Description
Sets the linear velocity of the center of mass.
b2.Body:setLinearVelocity(x,y)
'x: (number) x coordinate of the linear velocity '
'y: (number) y coordinate of the linear velocity '