ackb2d 0.9
3D Gamestudio Box 2d Wraper
|
Go to the source code of this file.
Functions | |
var | GetType (b2Joint *joint) |
Get the type of the concrete joint. | |
b2Body * | b2Joint_GetBodyA (b2Joint *joint) |
Get the first body attached to this joint. | |
b2Body * | b2Joint_GetBodyB (b2Joint *joint) |
Get the second body attached to this joint. | |
void | b2Joint_GetAnchorA (b2Joint *joint, VECTOR *outAnchorA) |
Get the anchor point on bodyA in world coordinates. | |
void | b2Joint_GetAnchorB (b2Joint *joint, VECTOR *outAnchorB) |
Get the anchor point on bodyB in world coordinates. | |
void | b2Joint_GetReactionForce (b2Joint *joint, var inv_dt, VECTOR *outReactionForce) |
Get the reaction force on body2 at the joint anchor in Newtons. | |
var | b2Joint_GetReactionTorque (b2Joint *joint, var inv_dt) |
Get the reaction torque on body2 in N*m. | |
b2Joint * | b2Joint_GetNext (b2Joint *joint) |
Get the next joint the world joint list. | |
void * | b2Joint_GetUserData (b2Joint *joint) |
Get the user data pointer. | |
void | b2Joint_SetUserData (b2Joint *joint, void *data) |
Set the user data pointer. | |
var | b2Joint_IsActive (b2Joint *joint) |
Short-cut function to determine if either body is inactive. |
void b2Joint_GetAnchorA | ( | b2Joint * | joint, |
VECTOR * | outAnchorA | ||
) |
Get the anchor point on bodyA in world coordinates.
void b2Joint_GetAnchorB | ( | b2Joint * | joint, |
VECTOR * | outAnchorB | ||
) |
Get the anchor point on bodyB in world coordinates.
void b2Joint_GetReactionForce | ( | b2Joint * | joint, |
var | inv_dt, | ||
VECTOR * | outReactionForce | ||
) |
Get the reaction force on body2 at the joint anchor in Newtons.
var b2Joint_GetReactionTorque | ( | b2Joint * | joint, |
var | inv_dt | ||
) |
Get the reaction torque on body2 in N*m.
void* b2Joint_GetUserData | ( | b2Joint * | joint | ) |
Get the user data pointer.
var b2Joint_IsActive | ( | b2Joint * | joint | ) |
Short-cut function to determine if either body is inactive.
void b2Joint_SetUserData | ( | b2Joint * | joint, |
void * | data | ||
) |
Set the user data pointer.
var GetType | ( | b2Joint * | joint | ) |
Get the type of the concrete joint.