love.physics.newRevoluteJoint
Creates a pivot joint between two bodies.

This joint connects two bodies to a point around which they can pivot.
joint = love.physics.newRevoluteJoint( body1, body2, x, y, collideConnected )
body1 Body The first body.
body2 Body The second body.
x number The x position of the connecting point.
y number The y position of the connecting point.
collideConnected (false) boolean Specifies whether the two bodies should collide with each other.
joint RevoluteJoint The new revolute joint.
joint = love.physics.newRevoluteJoint( body1, body2, x1, y1, x2, y2, collideConnected, referenceAngle )
body1 Body The first body.
body2 Body The second body.
x1 number The x position of the first connecting point.
y1 number The y position of the first connecting point.
x2 number The x position of the second connecting point.
y2 number The y position of the second connecting point.
collideConnected (false) boolean Specifies whether the two bodies should collide with each other.
referenceAngle (0) number The reference angle between body1 and body2, in radians.
joint RevoluteJoint The new revolute joint.