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

Function List

destroy
 
getAnchorA
 
getAnchorB
 
getBodyA
 
getBodyB
 
getReactionForce
 
getReactionTorque
 

Function Documentation

destroy

Schedule joint for destruction.


function destroy ( MOAIBox2DJoint self )

Parameters
MOAIBox2DJointself
Returns
nil
getAnchorA

See Box2D documentation.


function getAnchorA ( MOAIBox2DJoint self )

Parameters
MOAIBox2DJointself
Returns
number anchorX, number anchorY
getAnchorB

See Box2D documentation.


function getAnchorB ( MOAIBox2DJoint self )

Parameters
MOAIBox2DJointself
Returns
number anchorX, number anchorY
getBodyA

See Box2D documentation.


function getBodyA ( MOAIBox2DJoint self )

Parameters
MOAIBox2DJointself
Returns
MOAIBox2DBody body
getBodyB

See Box2D documentation.


function getBodyB ( MOAIBox2DJoint self )

Parameters
MOAIBox2DJointself
Returns
MOAIBox2DBody body
getReactionForce

See Box2D documentation.


function getReactionForce ( MOAIBox2DJoint self )

Parameters
MOAIBox2DJointself
Returns
number forceX, number forceY
getReactionTorque

See Box2D documentation.


function getReactionTorque ( MOAIBox2DJoint self )

Parameters
MOAIBox2DJointself
Returns
number reactionTorque