Difference between revisions of "PulleyJoint:setConstant"

(add detail)
m (included link to other languages)
Line 1: Line 1:
== Function ==
 
 
Set the total length of the rope.
 
Set the total length of the rope.
  
 
Setting a new length for the rope updates the maximum length values of the joint.
 
Setting a new length for the rope updates the maximum length values of the joint.
 +
== Function ==
 
=== Synopsis ===
 
=== Synopsis ===
 
<source lang="lua">
 
<source lang="lua">
Line 16: Line 16:
 
[[Category:Functions]]
 
[[Category:Functions]]
 
{{#set:Description=Set the total length of the rope.}}
 
{{#set:Description=Set the total length of the rope.}}
 +
== Other Languages ==
 +
{{i18n|PulleyJoint:setConstant}}

Revision as of 22:37, 21 January 2011

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

Other Languages