B2.PulleyJoint:getLengthA: Difference between revisions

From GiderosMobile
No edit summary
m Text replacement - "</source" to "</syntaxhighlight"
 
(One intermediate revision by the same user not shown)
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>
</syntaxhighlight>


=== <translate>Return values</translate> ===
=== <translate>Return values</translate> ===

Latest revision as of 15:35, 12 July 2023


Available since: Gideros 2011.6
Class: b2.PulleyJoint

Description

Returns the current length of the segment attached to bodyA.

(number) = b2.PulleyJoint:getLengthA()

Return values

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




LiquidFun