Difference between revisions of "PulleyJoint:setMaxLengths"
m (1 revision: Imported docs from potato.) |
|||
(4 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
+ | 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 == | == Function == | ||
=== Synopsis === | === Synopsis === | ||
<source lang="lua"> | <source lang="lua"> | ||
− | PulleyJoint:setMaxLengths( ) | + | PulleyJoint:setMaxLengths( max1, max2 ) |
</source> | </source> | ||
=== Arguments === | === Arguments === | ||
− | + | {{param|number|max1|The new maximum length of the first segment.}} | |
+ | {{param|number|max2|The new maximum length of the second segment.}} | ||
=== Returns === | === Returns === | ||
Nothing. | Nothing. | ||
Line 13: | Line 15: | ||
* [[parent::PulleyJoint]] | * [[parent::PulleyJoint]] | ||
[[Category:Functions]] | [[Category:Functions]] | ||
− | {{#set:Description=}} | + | {{#set:Description=Set the maximum lengths of the rope segments.}} |
+ | {{#set:Since=000}} | ||
+ | == Other Languages == | ||
+ | {{i18n|PulleyJoint:setMaxLengths}} |
Latest revision as of 17:29, 25 March 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
Dansk –
Deutsch –
English –
Español –
Français –
Indonesia –
Italiano –
Lietuviškai –
Magyar –
Nederlands –
Polski –
Português –
Română –
Slovenský –
Suomi –
Svenska –
Türkçe –
Česky –
Ελληνικά –
Български –
Русский –
Српски –
Українська –
עברית –
ไทย –
日本語 –
正體中文 –
简体中文 –
Tiếng Việt –
한국어
More info