Difference between revisions of "PulleyJoint:getLength2"

(add detail)
(oldin notice.)
 
(2 intermediate revisions by 2 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 ==
Get the current length of the rope segment attached to the second body.
 
 
=== Synopsis ===
 
=== Synopsis ===
 
<source lang="lua">
 
<source lang="lua">
Line 10: Line 11:
 
=== Returns ===
 
=== Returns ===
 
{{param|number|length|The length of the rope segment.}}
 
{{param|number|length|The length of the rope segment.}}
 +
 
== See Also ==
 
== See Also ==
 
* [[parent::PulleyJoint]]
 
* [[parent::PulleyJoint]]
 
[[Category:Functions]]
 
[[Category:Functions]]
 
{{#set:Description=Get the current length of the segment attached to the second body.}}
 
{{#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