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 an string representing the type.
Joint:setCollideConnectedSets whether the connected Bodies should collide with each other.
RevoluteJoint:enableLimitEnables or disables the joint limits.Added since 0.8.0 Removed in 0.9.0
RevoluteJoint:enableMotorStarts or stops the joint motor.Added since 0.8.0 Removed in 0.9.0
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:hasLimitsEnabledChecks whether limits are enabled.Added since 0.9.0
RevoluteJoint:isLimitsEnabledChecks whether limits are enabled. Removed in 0.9.0
RevoluteJoint:isMotorEnabledChecks whether the motor is enabled.
RevoluteJoint:setLimitsSets the limits.
RevoluteJoint:setLimitsEnabledEnables/disables the joint limit.Added since 0.9.0
RevoluteJoint:setLowerLimitSets the lower limit.
RevoluteJoint:setMaxMotorTorqueSet the maximum motor force.
RevoluteJoint:setMotorEnabledEnables/disables the joint motor.Added since 0.9.0
RevoluteJoint:setMotorSpeedSets the motor speed.

Supertypes

See Also


Other Languages

Personal tools