WheelJoint

Restricts a point on the second body to a line on the first body.

Constructors

love.physics.newWheelJointCreates a wheel joint.

Functions

Joint:destroyExplicitly destroys the Joint.
Joint:getAnchorsGet the anchor points of the joint.
Joint:getBodiesGets the bodies that the Joint is attached to.
Joint:getCollideConnectedGets whether the connected Bodies collide.
Joint:getReactionForceReturns the reaction force on the second body.
Joint:getReactionTorqueReturns the reaction torque on the second body.
Joint:getTypeGets a string representing the type.
Joint:getUserDataReturns the Lua value associated with this Joint.
Joint:isDestroyedGets whether the Joint is destroyed.
Joint:setCollideConnectedSets whether the connected Bodies should collide with each other.
Joint:setUserDataAssociates a Lua value with the Joint.
WheelJoint:enableMotorStarts and stops the joint motor.
WheelJoint:getAxisGets the world-space axis vector of the Prismatic Joint.
WheelJoint:getJointSpeedReturns the current joint translation speed.
WheelJoint:getJointTranslationReturns the current joint translation.
WheelJoint:getMaxMotorTorqueReturns the maximum motor torque.
WheelJoint:getMotorSpeedReturns the speed of the motor.
WheelJoint:getMotorTorqueReturns the current torque on the motor.
WheelJoint:getSpringDampingRatioReturns the damping ratio.
WheelJoint:getSpringFrequencyReturns the spring frequency.
WheelJoint:isMotorEnabledChecks if the joint motor is running.
WheelJoint:setMaxMotorTorqueSets a new maximum motor torque.
WheelJoint:setMotorEnabledStarts and stops the joint motor.
WheelJoint:setMotorSpeedSets a new speed for the motor.
WheelJoint:setSpringDampingRatioSets a new damping ratio.
WheelJoint:setSpringFrequencySets a new spring frequency.

Supertypes

See Also


Other Languages