Difference between revisions of "Body:setPosition"

m (1 revision: Importing from potato (again).)
m (included link to other languages)
Line 1: Line 1:
 
 
Set the position of the body.
 
Set the position of the body.
  
Line 14: Line 13:
 
=== Returns ===
 
=== Returns ===
 
Nothing.
 
Nothing.
 +
 
== See Also ==
 
== See Also ==
 
* [[parent::Body]]
 
* [[parent::Body]]
 
[[Category:Functions]]
 
[[Category:Functions]]
{{#set:Description=Set the position of the body.
+
{{#set:Description=Set the position of the body.}}
}}
+
 
 +
== Other Languages ==
 +
{{i18n|Body:setPosition}}

Revision as of 09:20, 30 January 2011

Set the position of the body.

Note that this may not be the center of mass of the body.

Function

Synopsis

Body:setPosition( x, y )

Arguments

number x
The x position.
number y
The y position.

Returns

Nothing.

See Also


Other Languages