WeldJoint

Available since LÖVE 0.8.0
This type is not supported in earlier versions.

A WeldJoint essentially glues two bodies together.

Constructors

love.physics.newWeldJoint A WeldJoint essentially glues two bodies together.

Functions

Joint:destroy Explicitly destroys the Joint.
Joint:getAnchors Get the anchor points of the joint.
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 an string representing the type.
Joint:setCollideConnected Sets whether the connected Bodies should collide with eachother.
WeldJoint:getDampingRatio Returns the damping ratio of the joint.
WeldJoint:getFrequency Returns the frequency.
WeldJoint:setDampingRatio Sets a new damping ratio.
WeldJoint:setFrequency Sets a new frequency.

See Also

Other Languages

Personal tools