Difference between revisions of "PulleyJoint:getLength2"

 
(oldin notice.)
 
(6 intermediate revisions by 4 users not shown)
Line 1: Line 1:
 
+
{{oldin|[[0.8.0]]|0.8.0|type=method}}
 +
Get the current length of the rope segment attached to the second body.
  
 
== Function ==
 
== Function ==
 
=== 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.}}
 +
{{#set:Since=000}}
 +
== Other Languages ==
 +
{{i18n|PulleyJoint:getLength2}}

Latest revision as of 11:49, 4 May 2012

Removed in LÖVE 0.8.0
This method is not supported in that and later versions.

".0" can not be assigned to a declared number type with value 0.8. Get the current length of the rope segment attached to the second body.

Function

Synopsis

length = PulleyJoint:getLength2( )

Arguments

None.

Returns

number length
The length of the rope segment.

See Also


Other Languages