Difference between revisions of "Body:setPosition"

m (present tense)
 
(4 intermediate revisions by 4 users not shown)
Line 1: Line 1:
 
 
Set the position of the body.
 
Set the position of the body.
  
 
Note that this may not be the center of mass of the body.
 
Note that this may not be the center of mass of the body.
 +
 +
This function cannot wake up the body.
  
 
== Function ==
 
== Function ==
Line 14: Line 15:
 
=== 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.}}
}}
+
{{#set:Since=000}}
 +
 
 +
== Other Languages ==
 +
{{i18n|Body:setPosition}}

Latest revision as of 14:00, 21 February 2014

Set the position of the body.

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

This function cannot wake up 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