WheelJoint:getMotorTorque

WheelJoint:getMotorTorque Available since LÖVE 0.8.0 This method is not supported in earlier versions. Returns the current torque on the motor. Function Synopsis torque = WheelJoint:getMotorTorque( invdt ) Arguments number invdt How long the force applies. Usually the inverse time step or 1/dt. Returns number torque The torque on the motor in newton meters. See Also WheelJoint

WheelJoint:getSpringDampingRatio

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

WheelJoint:getSpringFrequency

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

WheelJoint:isMotorEnabled

WheelJoint:isMotorEnabled Available since LÖVE 0.8.0 This method is not supported in earlier versions. Checks if the joint motor is running. Function Synopsis on = WheelJoint:isMotorEnabled( ) Arguments None. Returns boolean on The status of the joint motor. See Also WheelJoint

WheelJoint:setMaxMotorTorque

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

WheelJoint:setMotorEnabled

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

WheelJoint:setMotorSpeed

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

WheelJoint:setSpringDampingRatio

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

WheelJoint:setSpringFrequency

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

World:destroy

World:destroy Available since LÖVE 0.8.0 This method is not supported in earlier versions. Destroys the world, taking all bodies, joints, fixtures and their shapes with it. An error will occur if you attempt to use any of the destroyed objects after calling this function. Function Synopsis World:destroy( ) Arguments None. Returns Nothing. See Also World