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

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