ackb2d 0.9
3D Gamestudio Box 2d Wraper

b2FrictionJoint.h File Reference

Go to the source code of this file.

Functions

void b2FrictionJoint_GetAnchorA (b2FrictionJoint *joint, VECTOR *outAnchor)
 Get anchorA.
void b2FrictionJoint_GetAnchorB (b2FrictionJoint *joint, VECTOR *outAnchor)
 Get anchorB.
void b2FrictionJoint_GetReactionForce (b2FrictionJoint *joint, var inv_dt, VECTOR *outReactionForce)
 Get reaction force.
var b2FrictionJoint_GetReactionTorque (b2FrictionJoint *joint, var inv_dt)
 Get reaction torque.
void b2FrictionJoint_SetMaxForce (b2FrictionJoint *joint, var maxForce)
 Set the maximum friction force in N.
var b2FrictionJoint_GetMaxForce (b2FrictionJoint *joint)
 Get the maximum friction force in N.
void b2FrictionJoint_SetMaxTorque (b2FrictionJoint *joint, var maxTorque)
 Set the maximum friction torque in N*m.
var b2FrictionJoint_GetMaxTorque (b2FrictionJoint *joint)
 Get the maximum friction torque in N*m.

Function Documentation

void b2FrictionJoint_GetAnchorA ( b2FrictionJoint joint,
VECTOR *  outAnchor 
)

Get anchorA.

void b2FrictionJoint_GetAnchorB ( b2FrictionJoint joint,
VECTOR *  outAnchor 
)

Get anchorB.

var b2FrictionJoint_GetMaxForce ( b2FrictionJoint joint)

Get the maximum friction force in N.

var b2FrictionJoint_GetMaxTorque ( b2FrictionJoint joint)

Get the maximum friction torque in N*m.

void b2FrictionJoint_GetReactionForce ( b2FrictionJoint joint,
var  inv_dt,
VECTOR *  outReactionForce 
)

Get reaction force.

var b2FrictionJoint_GetReactionTorque ( b2FrictionJoint joint,
var  inv_dt 
)

Get reaction torque.

void b2FrictionJoint_SetMaxForce ( b2FrictionJoint joint,
var  maxForce 
)

Set the maximum friction force in N.

void b2FrictionJoint_SetMaxTorque ( b2FrictionJoint joint,
var  maxTorque 
)

Set the maximum friction torque in N*m.

 All Data Structures Files Functions Variables Typedefs Defines