Difference between revisions of "PulleyJoint:getConstant"

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

Revision as of 18:06, 6 March 2010

Function

Get the total length of the rope.

Synopsis

length = PulleyJoint:getConstant( )

Arguments

None.

Returns

number length
The length of the rope in the joint.

See Also