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)
RevoluteJoint joint
Available since LÖVE 0.10.2 |
This variant is not supported in earlier versions. |
joint = love.physics.newRevoluteJoint( body1, body2, x1, y1, x2, y2, collideConnected, referenceAngle )
Body body1
Body body2
number x1
number y1
number x2
number y2
boolean collideConnected (false)
number referenceAngle (0)
RevoluteJoint 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
RevoluteJoint joint