RevoluteJoint

Allow two Bodies to revolve around a shared point.

Constructors

love.physics.newRevoluteJointCreates a pivot joint between two bodies.

Functions

Joint:destroyExplicitly destroys the Joint.
Joint:getAnchorsGet the anchor points of the joint.
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:setCollideConnectedSets whether the connected Bodies should collide with each other.
RevoluteJoint:getJointAngleGet the current joint angle.
RevoluteJoint:getJointSpeedGet the current joint angle speed.
RevoluteJoint:getLimitsGets the joint limits.
RevoluteJoint:getLowerLimitGets the lower limit.
RevoluteJoint:getMaxMotorTorqueGets the maximum motor force.
RevoluteJoint:getMotorSpeedGets the motor speed.
RevoluteJoint:getMotorTorqueGet the current motor force.
RevoluteJoint:getUpperLimitGets the upper limit.
RevoluteJoint:isLimitsEnabledChecks whether limits are enabled.
RevoluteJoint:isMotorEnabledChecks whether the motor is enabled.
RevoluteJoint:setLimitsSets the limits.
RevoluteJoint:setLowerLimitSets the lower limit.
RevoluteJoint:setMaxMotorTorqueSet the maximum motor force.
RevoluteJoint:setMotorEnabledEnables/disables the joint motor.
RevoluteJoint:setMotorSpeedSets the motor speed.

See Also


Other Languages