Difference between revisions of "B2.DistanceJoint:getLength"
From GiderosMobile
m (Text replacement - "<source" to "<syntaxhighlight") |
|||
Line 6: | Line 6: | ||
=== Description === | === Description === | ||
Returns the length of this distance joint, usually in meters. | Returns the length of this distance joint, usually in meters. | ||
− | < | + | <syntaxhighlight lang="lua"> |
(number) = b2.DistanceJoint:getLength() | (number) = b2.DistanceJoint:getLength() | ||
</source> | </source> |
Revision as of 16:36, 12 July 2023
Available since: Gideros 2011.6
Class: b2.DistanceJoint
Description
Returns the length of this distance joint, usually in meters. <syntaxhighlight lang="lua"> (number) = b2.DistanceJoint:getLength() </source>
Return values
Returns (number) the length of this distance joint, usually in meters