Moai SDK  1.5 revision 1 (MoaiEdition)
MOAIBox2DJoint Class Reference
Inheritance diagram for MOAIBox2DJoint:
MOAIBox2DDistanceJoint MOAIBox2DFrictionJoint MOAIBox2DGearJoint MOAIBox2DMouseJoint MOAIBox2DPrismaticJoint MOAIBox2DPulleyJoint MOAIBox2DRevoluteJoint MOAIBox2DRopeJoint MOAIBox2DWeldJoint MOAIBox2DWheelJoint

List of all members.

Function List

  destroy
  getAnchorA
  getAnchorB
  getBodyA
  getBodyB
  getReactionForce
  getReactionTorque

Function Documentation

Schedule joint for destruction.


function destroy ( MOAIBox2DJoint self )
Parameters:
self ( MOAIBox2DJoint )
Returns:
nil

See Box2D documentation.


function getAnchorA ( MOAIBox2DJoint self )
Parameters:
self ( MOAIBox2DJoint )
Returns:
anchorX ( number ), anchorY ( number )

See Box2D documentation.


function getAnchorB ( MOAIBox2DJoint self )
Parameters:
self ( MOAIBox2DJoint )
Returns:
anchorX ( number ), anchorY ( number )

See Box2D documentation.


function getBodyA ( MOAIBox2DJoint self )
Parameters:
self ( MOAIBox2DJoint )
Returns:
body ( MOAIBox2DBody )

See Box2D documentation.


function getBodyB ( MOAIBox2DJoint self )
Parameters:
self ( MOAIBox2DJoint )
Returns:
body ( MOAIBox2DBody )

See Box2D documentation.


function getReactionForce ( MOAIBox2DJoint self )
Parameters:
self ( MOAIBox2DJoint )
Returns:
forceX ( number ), forceY ( number )

See Box2D documentation.


function getReactionTorque ( MOAIBox2DJoint self )
Parameters:
self ( MOAIBox2DJoint )
Returns:
reactionTorque ( number )