Difference between revisions of "Body:setPosition"

(Awake note)
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 will not wake up the body.
  
 
== Function ==
 
== Function ==

Revision as of 00:18, 1 September 2013

Set the position of the body.

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

This function will not 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