Difference between revisions of "PulleyJoint:getLength2"

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

Revision as of 18:10, 6 March 2010

Function

Get the current length of the rope segment attached to the second body.

Synopsis

length = PulleyJoint:getLength2( )

Arguments

None.

Returns

number length
The length of the rope segment.

See Also