Difference between revisions of "B2.Body:setPosition"
From GiderosMobile
| Line 8: | Line 8: | ||
|   b2.Body:setPosition(x,y) |   b2.Body:setPosition(x,y) | ||
| </source> | </source> | ||
| − | '''x''': (number) x coordinate of the position  | + | === Parameters === | 
| − | '''y''': (number) y coordinate of the position  | + | '''x''': (number) x coordinate of the position <br/> | 
| + | '''y''': (number) y coordinate of the position <br/> | ||
Revision as of 10:58, 23 August 2018
Available since: Gideros 2011.6
Description
Sets the world body origin position.
 b2.Body:setPosition(x,y)
Parameters
x: (number) x coordinate of the position 
y: (number) y coordinate of the position 
