PulleyJoint:setConstant

Set the total length of the rope.

Setting a new length for the rope updates the maximum length values of the joint.

Function

Synopsis

PulleyJoint:setConstant( length )

Arguments

number length
The new length of the rope in the joint.

Returns

Nothing.

See Also


© 2006–2020 LÖVE Development Team
Licensed under the GNU Free Documentation License, Version 1.3.
https://love2d.org/wiki/PulleyJoint:setConstant