Difference between revisions of "B2.PulleyJoint:getLengthA"

From GiderosMobile
m (Text replacement - "<source" to "<syntaxhighlight")
Line 6: Line 6:
 
=== <translate>Description</translate> ===
 
=== <translate>Description</translate> ===
 
Returns the current length of the segment attached to bodyA.
 
Returns the current length of the segment attached to bodyA.
<source lang="lua">
+
<syntaxhighlight lang="lua">
 
(number) = b2.PulleyJoint:getLengthA()
 
(number) = b2.PulleyJoint:getLengthA()
 
</source>
 
</source>

Revision as of 17:32, 12 July 2023


Available since: Gideros 2011.6
Class: b2.PulleyJoint

Description

Returns the current length of the segment attached to bodyA. <syntaxhighlight lang="lua"> (number) = b2.PulleyJoint:getLengthA() </source>

Return values

Returns (number) the current length of the segment attached to bodyA




LiquidFun