CoronaSDK 2013.1126 | Released: 24 May 2013, 1:59am | What's New | Download Now
These docs are *very* out of date.
You will be redirected to the new docs in a few seconds.
If you are certain you want to see the old docs, click cancel.
Cancel | Continue to new docs
You will be redirected to the new docs in a few seconds.
If you are certain you want to see the old docs, click cancel.
Cancel | Continue to new docs
joint.length2
Description:
A read-only property that provides the distance in pixels between the second joint anchor point and the stationary pulley anchor point.
For use with Pulley joints.
Syntax:
joint.length2
Example:
myJoint = physics.newJoint( "pulley", crateA, crateB, anchorA_x,anchorA_y, anchorB_x,anchorB_y, crateA.x,crateA.y, crateB.x,crateB.y, 1.0 ) myJoint.length1 -- (get-only; value in pixels) myJoint.length2 -- (get-only; value in pixels) myJoint.ratio -- (get-only)
Parameters:
None.
Returns:
Number
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