PulleyJoint

Allows you to simulate bodies connected through pulleys.

physicsJointPulley.png

Constructors

love.physics.newPulleyJoint Creates a PulleyJoint to join two bodies to each other and the ground.

Functions

Joint:destroy Explicitly destroys the Joint.
Joint:getAnchors Get the anchor points of the joint.
Joint:getBodies Gets the bodies that the Joint is attached to. 0.9.2
Joint:getCollideConnected Gets whether the connected Bodies collide.
Joint:getReactionForce Returns the reaction force on the second body.
Joint:getReactionTorque Returns the reaction torque on the second body.
Joint:getType Gets a string representing the type.
Joint:getUserData Returns the Lua value associated with this Joint. 0.9.2
Joint:isDestroyed Gets whether the Joint is destroyed. 0.9.2
Joint:setCollideConnected Sets whether the connected Bodies should collide with each other. 0.8.0
Joint:setUserData Associates a Lua value with the Joint. 0.9.2
PulleyJoint:getConstant Get the total length of the rope.
PulleyJoint:getGroundAnchors Get the ground anchor positions in world coordinates.
PulleyJoint:getLength1 Get the current length of the segment attached to the first body. 0.8.0
PulleyJoint:getLength2 Get the current length of the segment attached to the second body. 0.8.0
PulleyJoint:getLengthA Get the current length of the segment attached to the first body. 0.8.0
PulleyJoint:getLengthB Get the current length of the segment attached to the second body. 0.8.0
PulleyJoint:getMaxLengths Get the maximum lengths of the rope segments.
PulleyJoint:getRatio Get the pulley ratio.
PulleyJoint:setConstant Set the total length of the rope.
PulleyJoint:setMaxLengths Set the maximum lengths of the rope segments.
PulleyJoint:setRatio Set the pulley ratio.

Supertypes

See Also


PulleyJoint:setMaxLengths

PulleyJoint:setMaxLengths Set the maximum lengths of the rope segments. The physics module also imposes maximum values for the rope segments. If the parameters exceed these values

2017-03-21 15:52:24
PulleyJoint:setConstant

PulleyJoint:setConstant Set the total length of the rope. Setting a new length for the rope updates the maximum length values of the joint. Function

2017-03-21 15:52:24
PulleyJoint:getLength2

PulleyJoint:getLength2 Removed in LÖVE 0.8.0 This method is not supported in that and later versions. ".0" can not be

2017-03-21 15:52:22
PulleyJoint:getMaxLengths

PulleyJoint:getMaxLengths Get the maximum lengths of the rope segments. Function Synopsis

2017-03-21 15:52:23
PulleyJoint:setRatio

PulleyJoint:setRatio Set the pulley ratio. Function Synopsis

2017-03-21 15:52:25
PulleyJoint:getConstant

PulleyJoint:getConstant Get the total length of the rope. Function Synopsis

2017-03-21 15:52:20
PulleyJoint:getGroundAnchors

PulleyJoint:getGroundAnchors Get the ground anchor positions in world coordinates. Function Synopsis

2017-03-21 15:52:21
PulleyJoint:getRatio

PulleyJoint:getRatio Get the pulley ratio. Function Synopsis ratio

2017-03-21 15:52:24
PulleyJoint:getLength1

PulleyJoint:getLength1 Removed in LÖVE 0.8.0 This method is not supported in that and later versions. ".0" can not be

2017-03-21 15:52:21
PulleyJoint:getLengthA

PulleyJoint:getLengthA Available since LÖVE 0.8.0 This method is not supported in earlier versions. Get the current length of the rope segment

2017-03-21 15:52:22