Set the total length of the rope.

Setting a new length for the rope updates the maximum length values of the joint.
== Function ==
=== Synopsis ===
<source lang="lua">
PulleyJoint:setConstant( length )
</source>
=== Arguments ===
{{param|number|length|The new length of the rope in the joint.}}
=== Returns ===
Nothing.
== See Also ==
* [[parent::PulleyJoint]]
* [[PulleyJoint:getMaxLengths]]
[[Category:Functions]]
{{#set:Description=Set the total length of the rope.}}
{{#set:Since=000}}
== Other Languages ==
{{i18n|PulleyJoint:setConstant}}