Difference between revisions of "B2.PulleyJoint:getLengthB"
From GiderosMobile
m (Text replacement - "<source" to "<syntaxhighlight") |
|||
(2 intermediate revisions by 2 users not shown) | |||
Line 3: | Line 3: | ||
'''<translate>Available since</translate>:''' Gideros 2011.6<br/> | '''<translate>Available since</translate>:''' Gideros 2011.6<br/> | ||
'''<translate>Class</translate>:''' [[Special:MyLanguage/b2.PulleyJoint|b2.PulleyJoint]]<br/> | '''<translate>Class</translate>:''' [[Special:MyLanguage/b2.PulleyJoint|b2.PulleyJoint]]<br/> | ||
+ | |||
=== <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. | + | <syntaxhighlight lang="lua"> |
− | |||
− | < | ||
(number) = b2.PulleyJoint:getLengthB() | (number) = b2.PulleyJoint:getLengthB() | ||
− | </ | + | </syntaxhighlight> |
+ | |||
=== <translate>Return values</translate> === | === <translate>Return values</translate> === | ||
− | '''<translate>Returns</translate>''' (number) <translate> | + | '''<translate>Returns</translate>''' (number) <translate>the current length of the segment attached to bodyB</translate><br/> |
+ | |||
+ | {{B2.PulleyJoint}} |
Latest revision as of 17: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