WheelJoint

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

physicsJointWheel.png

Constructors

love.physics.newWheelJoint Creates a wheel joint. 0.8.0

Functions

Joint:destroy Explicitly destroys the Joint.
Joint:getAnchors Get the anchor points of the joint.
Joint:getBodies Gets the bodies that the Joint is attached to. 0.9.2
Joint:getCollideConnected Gets whether the connected Bodies collide.
Joint:getReactionForce Returns the reaction force on the second body.
Joint:getReactionTorque Returns the reaction torque on the second body.
Joint:getType Gets a string representing the type.
Joint:getUserData Returns the Lua value associated with this Joint. 0.9.2
Joint:isDestroyed Gets whether the Joint is destroyed. 0.9.2
Joint:setCollideConnected Sets whether the connected Bodies should collide with each other. 0.8.0
Joint:setUserData Associates a Lua value with the Joint. 0.9.2
WheelJoint:enableMotor Starts and stops the joint motor. 0.8.0 0.9.0
WheelJoint:getAxis Gets the world-space axis vector of the Prismatic Joint. 0.10.2
WheelJoint:getJointSpeed Returns the current joint translation speed. 0.8.0
WheelJoint:getJointTranslation Returns the current joint translation. 0.8.0
WheelJoint:getMaxMotorTorque Returns the maximum motor torque. 0.8.0
WheelJoint:getMotorSpeed Returns the speed of the motor. 0.8.0
WheelJoint:getMotorTorque Returns the current torque on the motor. 0.8.0
WheelJoint:getSpringDampingRatio Returns the damping ratio. 0.8.0
WheelJoint:getSpringFrequency Returns the spring frequency. 0.8.0
WheelJoint:isMotorEnabled Checks if the joint motor is running. 0.8.0
WheelJoint:setMaxMotorTorque Sets a new maximum motor torque. 0.8.0
WheelJoint:setMotorEnabled Starts and stops the joint motor. 0.9.0
WheelJoint:setMotorSpeed Sets a new speed for the motor. 0.8.0
WheelJoint:setSpringDampingRatio Sets a new damping ratio. 0.8.0
WheelJoint:setSpringFrequency Sets a new spring frequency. 0.8.0

Supertypes

See Also


WheelJoint:getSpringDampingRatio
  • References/Game Development/LÖVE/love.physics/Joint/WheelJoint

WheelJoint:getSpringDampingRatio Available since LÖVE 0.8.0 This method is not supported in earlier versions. Returns the damping ratio.

2025-01-10 15:47:30
WheelJoint:getMotorSpeed
  • References/Game Development/LÖVE/love.physics/Joint/WheelJoint

WheelJoint:getMotorSpeed Available since LÖVE 0.8.0 This method is not supported in earlier versions. Returns the speed of the motor.

2025-01-10 15:47:30
WheelJoint:setSpringFrequency
  • References/Game Development/LÖVE/love.physics/Joint/WheelJoint

WheelJoint:setSpringFrequency Available since LÖVE 0.8.0 This method is not supported in earlier versions. Sets a new spring frequency.

2025-01-10 15:47:30
WheelJoint:getJointSpeed
  • References/Game Development/LÖVE/love.physics/Joint/WheelJoint

WheelJoint:getJointSpeed Available since LÖVE 0.8.0 This method is not supported in earlier versions. Returns the current joint translation

2025-01-10 15:47:30
WheelJoint:setMotorSpeed
  • References/Game Development/LÖVE/love.physics/Joint/WheelJoint

WheelJoint:setMotorSpeed Available since LÖVE 0.8.0 This method is not supported in earlier versions. Sets a new speed for the motor.

2025-01-10 15:47:30
WheelJoint:setSpringDampingRatio
  • References/Game Development/LÖVE/love.physics/Joint/WheelJoint

WheelJoint:setSpringDampingRatio Available since LÖVE 0.8.0 This method is not supported in earlier versions. Sets a new damping ratio.

2025-01-10 15:47:30
WheelJoint:setMaxMotorTorque
  • References/Game Development/LÖVE/love.physics/Joint/WheelJoint

WheelJoint:setMaxMotorTorque Available since LÖVE 0.8.0 This method is not supported in earlier versions. Sets a new maximum motor torque.

2025-01-10 15:47:30
WheelJoint:getSpringFrequency
  • References/Game Development/LÖVE/love.physics/Joint/WheelJoint

WheelJoint:getSpringFrequency Available since LÖVE 0.8.0 This method is not supported in earlier versions. Returns the spring frequency.

2025-01-10 15:47:30
WheelJoint:getMotorTorque
  • References/Game Development/LÖVE/love.physics/Joint/WheelJoint

WheelJoint:getMotorTorque Available since LÖVE 0.8.0 This method is not supported in earlier versions. Returns the current torque on the motor

2025-01-10 15:47:30
WheelJoint:getAxis
  • References/Game Development/LÖVE/love.physics/Joint/WheelJoint

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

2025-01-10 15:47:30