Body:setPosition

Set the position of the body.

Note that this may not be the center of mass of 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