Body:setPosition

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