Difference between revisions of "PulleyJoint:getLength1"

m (1 revision: Imported docs from potato.)
(oldin notice.)
 
(5 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 first body.
  
 
== Function ==
 
== Function ==
 
=== Synopsis ===
 
=== Synopsis ===
 
<source lang="lua">
 
<source lang="lua">
PulleyJoint:getLength1( )
+
length = PulleyJoint:getLength1( )
 
</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 first body.}}
 +
{{#set:Since=000}}
 +
== Other Languages ==
 +
{{i18n|PulleyJoint:getLength1}}

Latest revision as of 11:48, 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 first body.

Function

Synopsis

length = PulleyJoint:getLength1( )

Arguments

None.

Returns

number length
The length of the rope segment.

See Also


Other Languages