Moai SDK  1.5 revision 1 (MoaiEdition)
MOAIBox2DDistanceJoint Class Reference
Inheritance diagram for MOAIBox2DDistanceJoint:
MOAIBox2DJoint

List of all members.

Function List

  getDampingRatio
  getFrequency
  getLength
  setDampingRatio
  setFrequency
  setLength

Function Documentation

See Box2D documentation.


function getDampingRatio ( MOAIBox2DDistanceJoint self )
Parameters:
self ( MOAIBox2DDistanceJoint )
Returns:
dampingRatio ( number )

See Box2D documentation.


function getFrequency ( MOAIBox2DDistanceJoint self )
Parameters:
self ( MOAIBox2DDistanceJoint )
Returns:
frequency ( number )

See Box2D documentation.


function getLength ( MOAIBox2DDistanceJoint self )
Parameters:
self ( MOAIBox2DDistanceJoint )
Returns:
length ( number )

See Box2D documentation.


function setDampingRatio ( MOAIBox2DDistanceJoint self [, number dampingRatio ] )
Parameters:
self ( MOAIBox2DDistanceJoint )
dampingRatio ( number ) Optional. Default value is 0.
Returns:
nil

See Box2D documentation.


function setFrequency ( MOAIBox2DDistanceJoint self [, number frequency ] )
Parameters:
self ( MOAIBox2DDistanceJoint )
frequency ( number ) Optional. In Hz. Default value is 0.
Returns:
nil

See Box2D documentation.


function setLength ( MOAIBox2DDistanceJoint self [, number length ] )
Parameters:
self ( MOAIBox2DDistanceJoint )
length ( number ) Optional. in units, converted to meters. Default value is 0.
Returns:
nil