Difference between revisions of "Body:setPosition"

 
m (present tense)
 
(6 intermediate revisions by 4 users not shown)
Line 1: Line 1:
 +
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 ==
 
== Function ==
Line 11: Line 15:
 
=== Returns ===
 
=== Returns ===
 
Nothing.
 
Nothing.
 +
 
== See Also ==
 
== See Also ==
 
* [[parent::Body]]
 
* [[parent::Body]]
 
[[Category:Functions]]
 
[[Category:Functions]]
{{#set:Description=}}
+
{{#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