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