CoronaSDK 2013.1143 | Released: 18 Jun 2013, 2:19am | 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:getRotationLimits()
Description:
Returns the joint's rotation limits.
Syntax:
lower, upper = joint:getRotationLimits()
Example:
myJoint = physics.newJoint( "pivot", crateA, crateB, 200,300 ) myJoint.isLimitEnabled = true myJoint:setRotationLimits( -45, 45 ) lowerLimit, upperLimit = myJoint:getRotationLimits()
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