PrismaticJoint:setMotorEnabled

PrismaticJoint:setMotorEnabled Removed in LÖVE 0.8.0 This function is not supported in that version. Available since LÖVE 0.9.0 I has been renamed again. Enables/disables the joint motor. Function Synopsis PrismaticJoint:setMotorEnabled( enable ) Arguments boolean enable True to enable, false to disable. Returns Nothing. See Also PrismaticJoint

PrismaticJoint:setMotorSpeed

PrismaticJoint:setMotorSpeed Sets the motor speed. Function Synopsis PrismaticJoint:setMotorSpeed( s ) Arguments number s The motor speed, usually in meters per second. Returns Nothing. See Also PrismaticJoint

PrismaticJoint:setUpperLimit

PrismaticJoint:setUpperLimit Sets the upper limit. Function Synopsis PrismaticJoint:setUpperLimit( upper ) Arguments number upper The upper limit, usually in meters. Returns Nothing. See Also PrismaticJoint

PulleyJoint:getConstant

PulleyJoint:getConstant Get the total length of the rope. Function Synopsis length = PulleyJoint:getConstant( ) Arguments None. Returns number length The length of the rope in the joint. See Also PulleyJoint

PulleyJoint:getGroundAnchors

PulleyJoint:getGroundAnchors Get the ground anchor positions in world coordinates. Function Synopsis a1x, a1y, a2x, a2y = PulleyJoint:getGroundAnchors( ) Arguments None. Returns number a1x The x coordinate of the first anchor. number a1y The y coordinate of the first anchor. number a2x The x coordinate of the second anchor. number a2y The y coordinate of the second anchor. 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

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: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: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: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