WeldJoint:getDampingRatio

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

WeldJoint:getFrequency

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

WeldJoint:setDampingRatio

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

WeldJoint:setFrequency

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

WheelJoint:enableMotor

WheelJoint:enableMotor Available since LÖVE 0.8.0 This method is not supported in earlier versions. Removed in LÖVE 0.9.0 It has been renamed to WheelJoint:setMotorEnabled. Starts and stops the joint motor. Function Synopsis WheelJoint:enableMotor( on ) Arguments boolean on True turns the motor on and false turns it off. Returns Nothing. See Also WheelJoint

WheelJoint:getAxis

WheelJoint:getAxis Available since LÖVE 0.10.2 This function is not supported in earlier versions. Gets the world-space axis vector of the Wheel Joint. Function Synopsis x, y = WheelJoint:getAxis( ) Arguments None. Returns number x The x-axis coordinate of the world-space axis vector. number y The y-axis coordinate of the world-space axis vector. See Also WheelJoint love.physics.newWheelJoint

WheelJoint:getJointSpeed

WheelJoint:getJointSpeed Available since LÖVE 0.8.0 This method is not supported in earlier versions. Returns the current joint translation speed. Function Synopsis speed = WheelJoint:getJointSpeed( ) Arguments None. Returns number speed The translation speed of the joint in meters per second. See Also WheelJoint

WheelJoint:getJointTranslation

WheelJoint:getJointTranslation Available since LÖVE 0.8.0 This method is not supported in earlier versions. Returns the current joint translation. Function Synopsis position = WheelJoint:getJointTranslation( ) Arguments None. Returns number position The translation of the joint in meters. See Also WheelJoint

WheelJoint:getMaxMotorTorque

WheelJoint:getMaxMotorTorque Available since LÖVE 0.8.0 This method is not supported in earlier versions. Returns the maximum motor torque. Function Synopsis maxTorque = WheelJoint:getMaxMotorTorque( ) Arguments None. Returns number maxTorque The maximum torque of the joint motor in newton meters. See Also WheelJoint WheelJoint:setMaxMotorTorque

WheelJoint:getMotorSpeed

WheelJoint:getMotorSpeed Available since LÖVE 0.8.0 This method is not supported in earlier versions. Returns the speed of the motor. Function Synopsis speed = WheelJoint:getMotorSpeed( ) Arguments None. Returns number speed The speed of the joint motor in radians per second. See Also WheelJoint WheelJoint:setMotorSpeed