B2.PulleyJoint:getLengthB: 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 bodyB.
Returns the current length of the segment attached to bodyB.
<source lang="lua">
<syntaxhighlight lang="lua">
(number) = b2.PulleyJoint:getLengthB()
(number) = b2.PulleyJoint:getLengthB()
</source>
</syntaxhighlight>


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

Latest revision as of 16:00, 12 July 2023


Available since: Gideros 2011.6
Class: b2.PulleyJoint

Description

Returns the current length of the segment attached to bodyB.

(number) = b2.PulleyJoint:getLengthB()

Return values

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




LiquidFun