×
A new build of Corona SDK is now available to subscribers. Not a subscriber? Subscribe now.
CoronaSDK 2014.2269 | Released: 18 Apr 2014, 7:11am | What's New | Download Now

joint.length

Description:

The distance in pixels between the anchor points. The value you assign to this property should not be zero or very short. Consider using a pivot joint if you need to directly anchor one body to another.

For use with Distance joints.

Syntax:

joint.length

Example:

 

Parameters:

None.

Returns:

Nothing.

Remarks:
Supported on operating systems and platforms for build numbers shown:
  • Mac OS X:
    Build 2010.222
  • Windows:
    Build 2010.222
  • iOS:
    Build 2010.222
  • Android:
    Build 2010.222