B2.Body:setPosition: Difference between revisions

From GiderosMobile
No edit summary
No edit summary
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
__NOTOC__
__NOTOC__
'''<translate>Available since</translate>:''' Gideros 2011.6<br/>
'''Available since:''' Gideros 2011.6<br/>
=== <translate>Description</translate> ===
'''Class:''' [[b2.Body]]<br/>
<translate><br />
 
Sets the world body origin position.<br />
=== Description ===
<br /></translate>
Sets the world body origin position.
<source lang="lua">
<syntaxhighlight lang="lua">
b2.Body:setPosition(x,y)
b2.Body:setPosition(x,y)
</source>
</syntaxhighlight>
=== <translate>Parameters</translate> ===
 
'''x''': (number) <translate>x coordinate of the position</translate> <br/>
=== Parameters ===
'''y''': (number) <translate>y coordinate of the position</translate> <br/>
'''x''': (number) the position x coordinate<br/>
'''y''': (number) the position y coordinate<br/>
 
{{B2.Body}}

Latest revision as of 21:57, 30 April 2025