Difference between revisions of "PulleyJoint:getMaxLengths"

m (1 revision: Importing from potato (again).)
(add detail)
Line 1: Line 1:
 
  
 
== Function ==
 
== Function ==
 +
Get the maximum lengths of the rope segments.
 
=== Synopsis ===
 
=== Synopsis ===
 
<source lang="lua">
 
<source lang="lua">
PulleyJoint:getMaxLengths( )
+
len1, len2 = PulleyJoint:getMaxLengths( )
 
</source>
 
</source>
 
=== Arguments ===
 
=== Arguments ===
 
None.
 
None.
 
=== Returns ===
 
=== Returns ===
Nothing.
+
{{param|number|len1|The maximum length of the first rope segment.}}
 +
{{param|number|len2|The maximum length of the second rope segment.}}
 
== See Also ==
 
== See Also ==
 
* [[parent::PulleyJoint]]
 
* [[parent::PulleyJoint]]
 
[[Category:Functions]]
 
[[Category:Functions]]
{{#set:Description=}}
+
{{#set:Description=Get the maximum lengths of the rope segments.}}

Revision as of 18:12, 6 March 2010

Function

Get the maximum lengths of the rope segments.

Synopsis

len1, len2 = PulleyJoint:getMaxLengths( )

Arguments

None.

Returns

number len1
The maximum length of the first rope segment.
number len2
The maximum length of the second rope segment.

See Also