Quad:flip

Quad:flip Removed in LÖVE 0.9.0 This function is not supported in that and later versions. Flips this quad horizontally, vertically, or both. Function Synopsis Quad:flip( x, y ) Arguments boolean x True to flip horizontally, false to leave as-is. boolean y True to flip vertically, false to leave as-is. Returns Nothing. See Also Quad

PulleyJoint:setRatio

PulleyJoint:setRatio Set the pulley ratio. Function Synopsis PulleyJoint:setRatio( ratio ) Arguments number ratio The new pulley ratio of the joint. Returns Nothing. See Also PulleyJoint

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, the maximum values are set instead of the requested values. Function Synopsis PulleyJoint:setMaxLengths( max1, max2 ) Arguments number max1 The new maximum length of the first segment. number max2 The new maximum length of the second segment. Returns Nothing. See Also PulleyJoint

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 Synopsis PulleyJoint:setConstant( length ) Arguments number length The new length of the rope in the joint. Returns Nothing. See Also PulleyJoint PulleyJoint:getMaxLengths

PulleyJoint:getRatio

PulleyJoint:getRatio Get the pulley ratio. Function Synopsis ratio = PulleyJoint:getRatio( ) Arguments None. Returns number ratio The pulley ratio of the joint. See Also PulleyJoint

PulleyJoint:getMaxLengths

PulleyJoint:getMaxLengths Get the maximum lengths of the rope segments. Function Synopsis len1, len2 = PulleyJoint:getMaxLengths( ) Arguments None. Returns number len1 The maximum length of the first rope segment. number len2 The maximum length of the second rope segment. See Also PulleyJoint

PulleyJoint:getLengthB

PulleyJoint:getLengthB Available since LÖVE 0.8.0 This method is not supported in earlier versions. Get the current length of the rope segment attached to the second body. Function Synopsis length = PulleyJoint:getLengthB( ) Arguments None. Returns number length The length of the rope segment. See Also PulleyJoint

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 attached to the first body. Function Synopsis length = PulleyJoint:getLengthA( ) Arguments None. Returns number length The length of the rope segment. See Also PulleyJoint

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 assigned to a declared number type with value 0.8. Get the current length of the rope segment attached to the second body. Function Synopsis length = PulleyJoint:getLength2( ) Arguments None. Returns number length The length of the rope segment. See Also PulleyJoint

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 assigned to a declared number type with value 0.8. Get the current length of the rope segment attached to the first body. Function Synopsis length = PulleyJoint:getLength1( ) Arguments None. Returns number length The length of the rope segment. See Also PulleyJoint