Difference between revisions of "PulleyJoint:setMaxLengths"

(add detail)
m (included link to other languages)
Line 1: Line 1:
== Function ==
 
 
Set the maximum lengths of the rope segments.
 
Set the maximum lengths of the rope segments.
  
 
The physics module also imposes maximum values for the rope segments. If the parameters exceed these values, the maximum values are set instead of the requested values.
 
The physics module also imposes maximum values for the rope segments. If the parameters exceed these values, the maximum values are set instead of the requested values.
 +
== Function ==
 
=== Synopsis ===
 
=== Synopsis ===
 
<source lang="lua">
 
<source lang="lua">
Line 16: Line 16:
 
[[Category:Functions]]
 
[[Category:Functions]]
 
{{#set:Description=Set the maximum lengths of the rope segments.}}
 
{{#set:Description=Set the maximum lengths of the rope segments.}}
 +
== Other Languages ==
 +
{{i18n|PulleyJoint:setMaxLengths}}

Revision as of 22:40, 21 January 2011

Set the maximum lengths of the rope segments.

The physics module also imposes maximum values for the rope segments. If the parameters exceed these values, the maximum values are set instead of the requested values.

Function

Synopsis

PulleyJoint:setMaxLengths( max1, max2 )

Arguments

number max1
The new maximum length of the first segment.
number max2
The new maximum length of the second segment.

Returns

Nothing.

See Also

Other Languages