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

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

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

PrismaticJoint:setMaxMotorForce Set the maximum motor force. Function Synopsis PrismaticJoint:setMaxMotorForce( f ) Arguments number f The maximum motor force, usually in N. Returns Nothing. See Also PrismaticJoint

PrismaticJoint:setLowerLimit

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

PrismaticJoint:setLimitsEnabled

PrismaticJoint:setLimitsEnabled Removed in LÖVE 0.8.0 This function is not supported in that version. Available since LÖVE 0.9.0 It has been renamed again. Enables/disables the joint limit. Function Synopsis enable = PrismaticJoint:setLimitsEnabled( ) Arguments None. Returns boolean enable True if enabled, false if disabled. See Also PrismaticJoint

PrismaticJoint:setLimits

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

PrismaticJoint:isMotorEnabled

PrismaticJoint:isMotorEnabled Checks whether the motor is enabled. Function Synopsis enabled = PrismaticJoint:isMotorEnabled( ) Arguments None. Returns boolean enabled True if enabled, false if disabled. See Also PrismaticJoint