Difference between revisions of "Body:setPosition"

(Awake note)
m (present tense)
 
Line 3: Line 3:
 
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 will not wake up the body.
+
This function cannot wake up the body.
  
 
== Function ==
 
== Function ==

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