MotorJoint:getLinearOffset

MotorJoint:getLinearOffset Available since LÖVE 0.9.0 This method is not supported in earlier versions. Gets the target linear offset between the two Bodies the Joint is attached to. Function Synopsis x, y = MotorJoint:getLinearOffset( ) Arguments None. Returns number x The x component of the target linear offset, relative to the first Body. number y The y component of the target linear offset, relative to the first Body. See Also MotorJoint MotorJoint:setLinearOffset

MotorJoint:setAngularOffset

MotorJoint:setAngularOffset Available since LÖVE 0.9.0 This method is not supported in earlier versions. Sets the target angluar offset between the two Bodies the Joint is attached to. Function Synopsis MotorJoint:setAngularOffset( angleoffset ) Arguments number angleoffset The target angular offset in radians: the second body's angle minus the first body's angle. Returns Nothing. See Also MotorJoint MotorJoint:getAngularOffset

MotorJoint:setLinearOffset

MotorJoint:setLinearOffset Available since LÖVE 0.9.0 This method is not supported in earlier versions. Sets the target linear offset between the two Bodies the Joint is attached to. Function Synopsis MotorJoint:setLinearOffset( x, y ) Arguments number x The x component of the target linear offset, relative to the first Body. number y The y component of the target linear offset, relative to the first Body. Returns Nothing. See Also MotorJoint MotorJoint:getLinearOffset

MouseJoint:getDampingRatio

MouseJoint:getDampingRatio Available since LÖVE 0.8.0 This method is not supported in earlier versions. Returns the damping ratio. Function Synopsis ratio = MouseJoint:getDampingRatio( ) Arguments None. Returns number ratio The new damping ratio. See Also MouseJoint MouseJoint:setDampingRatio

MouseJoint:getFrequency

MouseJoint:getFrequency Available since LÖVE 0.8.0 This method is not supported in earlier versions. Returns the frequency. Function Synopsis freq = MouseJoint:getFrequency( ) Arguments None. Returns number freq The frequency in hertz. See Also MouseJoint MouseJoint:setFrequency

MouseJoint:getMaxForce

MouseJoint:getMaxForce Gets the highest allowed force. Function Synopsis f = MouseJoint:getMaxForce( ) Arguments None. Returns number f The max allowed force. See Also MouseJoint

MouseJoint:getTarget

MouseJoint:getTarget Gets the target point. Function Synopsis x, y = MouseJoint:getTarget( ) Arguments None. Returns number x The x-component of the target. number y The x-component of the target. See Also MouseJoint

MouseJoint:setDampingRatio

MouseJoint:setDampingRatio Available since LÖVE 0.8.0 This method is not supported in earlier versions. Sets a new damping ratio. Function Synopsis MouseJoint:setDampingRatio( ratio ) Arguments number ratio The new damping ratio. Returns Nothing. See Also MouseJoint MouseJoint:getDampingRatio

MouseJoint:setFrequency

MouseJoint:setFrequency Available since LÖVE 0.8.0 This method is not supported in earlier versions. Sets a new frequency. Function Synopsis MouseJoint:setFrequency( freq ) Arguments number freq The new frequency in hertz. Returns Nothing. See Also MouseJoint MouseJoint:getFrequency

MouseJoint:setMaxForce

MouseJoint:setMaxForce Sets the highest allowed force. Function Synopsis MouseJoint:setMaxForce( f ) Arguments number f The max allowed force. Returns Nothing. See Also MouseJoint