Difference between revisions of "PulleyJoint:setConstant"
m (1 revision: Importing from potato (again).) |
|||
(2 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
+ | Set the total length of the rope. | ||
− | + | Setting a new length for the rope updates the maximum length values of the joint. | |
== Function == | == Function == | ||
=== Synopsis === | === Synopsis === | ||
<source lang="lua"> | <source lang="lua"> | ||
− | PulleyJoint:setConstant( ) | + | PulleyJoint:setConstant( length ) |
</source> | </source> | ||
=== Arguments === | === Arguments === | ||
− | + | {{param|number|length|The new length of the rope in the joint.}} | |
=== Returns === | === Returns === | ||
Nothing. | Nothing. | ||
== See Also == | == See Also == | ||
* [[parent::PulleyJoint]] | * [[parent::PulleyJoint]] | ||
+ | * [[PulleyJoint:getMaxLengths]] | ||
[[Category:Functions]] | [[Category:Functions]] | ||
− | {{#set:Description=}} | + | {{#set:Description=Set the total length of the rope.}} |
+ | {{#set:Since=000}} | ||
+ | == Other Languages == | ||
+ | {{i18n|PulleyJoint:setConstant}} |
Latest revision as of 17:29, 25 March 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
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