Function
love.physics.newRevoluteJoint( body1, body2, x, y )
Create a pivot joint between two bodies.

This joint connects two bodies to a point around which they can pivot.

Synopsis
joint = love.physics.newRevoluteJoint( body1, body2, x, y )
Parameters
body1 body The body to attach to the mouse.
body2 body The body to attach to the mouse.
x number The x position of the connecting point.
y number The y position of the connecting point.
Returns
joint joint The new revolute joint.
See Also
Joint   RevoluteJoint  
Copyright © 2006-2010 LÖVE Development Team.