Moai SDK  2.0
MOAIBox2DRopeJoint Class Reference
+ Inheritance diagram for MOAIBox2DRopeJoint:

Function List

getLimitState
 
getMaxLength
 
setMaxLength
 

Additional Inherited Members

- Function List inherited from MOAIBox2DJoint
destroy
 
getAnchorA
 
getAnchorB
 
getBodyA
 
getBodyB
 
getReactionForce
 
getReactionTorque
 

Function Documentation

getLimitState

See Box2D documentation.


function getLimitState ( MOAIBox2DRopeJoint self )

Parameters
MOAIBox2DRopeJointself
Returns
number limitState
getMaxLength

See Box2D documentation.


function getMaxLength ( MOAIBox2DRopeJoint self )

Parameters
MOAIBox2DRopeJointself
Returns
number maxLength
setMaxLength

See Box2D documentation.


function setMaxLength ( MOAIBox2DRopeJoint self, number maxLength )

Parameters
MOAIBox2DRopeJointself
numbermaxLength in units, converted to meters. Default is 0.
Returns
nil