B2.DistanceJoint:getLength

From GiderosMobile
Revision as of 16:36, 12 July 2023 by Hgy29 (talk | contribs) (Text replacement - "<source" to "<syntaxhighlight")


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




LiquidFun