Creates a pivot joint between two bodies.
This joint connects two bodies to a point around which they can pivot.
Available since LÖVE 0.8.0
This variant is not supported in earlier versions.
joint = love.physics.newRevoluteJoint( body1, body2, x, y, collideConnected )
Body body1
Body body2
number x
number y
boolean collideConnected (false)
Joint joint
Available since LÖVE 0.10.2
This variant is not supported in earlier versions.
joint = love.physics.newRevoluteJoint( body1, body2, x, y, collideConnected, referenceAngle )
Body body1
Body body2
number x
number y
boolean collideConnected (false)
number referenceAngle (0)
Joint joint
Removed in LÖVE 0.8.0
This variant is not supported in that and later versions.
joint = love.physics.newRevoluteJoint( body1, body2, x, y )
Body body1
Body body2
number x
number y
Joint joint
© 2006–2016 LÖVE Development Team
Licensed under the GNU Free Documentation License, Version 1.3.
https://love2d.org/wiki/love.physics.newRevoluteJoint