Difference between revisions of "Body:setPosition"

m (included link to other languages)
m (present tense)
 
(2 intermediate revisions by 2 users not shown)
Line 2: Line 2:
  
 
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 18: Line 20:
 
[[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 ==
 
== Other Languages ==
 
{{i18n|Body:setPosition}}
 
{{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