ackb2d 0.9
3D Gamestudio Box 2d Wraper
|
Go to the source code of this file.
Functions | |
b2WeldJointDef * | b2WeldJointDef_Create () |
Create b2WeldJoint. | |
void | b2WeldJointDef_Destroy (b2WeldJointDef *def) |
Destroy b2WeldJoint. | |
void | b2WeldJointDef_Initialize (b2WeldJointDef *def, b2Body *body1, b2Body *body2, const VECTOR *anchor) |
void | b2WeldJointDef_SetLocalAnchorA (b2WeldJointDef *def, const VECTOR *localAnchor) |
void | b2WeldJointDef_GetLocalAnchorA (b2WeldJointDef *def, VECTOR *outLocalAnchor) |
void | b2WeldJointDef_SetLocalAnchorB (b2WeldJointDef *def, const VECTOR *localAnchor) |
void | b2WeldJointDef_GetLocalAnchorB (b2WeldJointDef *def, VECTOR *outLocalAnchor) |
void | b2WeldJointDef_SetReferenceAngle (b2WeldJointDef *def, var referenceAngle) |
The body2 angle minus body1 angle in the reference state (radians). | |
var | b2WeldJointDef_GetReferenceAngle (b2WeldJointDef *def) |
The body2 angle minus body1 angle in the reference state (radians). |
b2WeldJointDef* b2WeldJointDef_Create | ( | ) |
Create b2WeldJoint.
void b2WeldJointDef_Destroy | ( | b2WeldJointDef * | def | ) |
Destroy b2WeldJoint.
void b2WeldJointDef_GetLocalAnchorA | ( | b2WeldJointDef * | def, |
VECTOR * | outLocalAnchor | ||
) |
Get local anchor A The local anchor point relative to body1's origin.
void b2WeldJointDef_GetLocalAnchorB | ( | b2WeldJointDef * | def, |
VECTOR * | outLocalAnchor | ||
) |
Get local anchor B The local anchor point relative to body2's origin.
var b2WeldJointDef_GetReferenceAngle | ( | b2WeldJointDef * | def | ) |
The body2 angle minus body1 angle in the reference state (radians).
void b2WeldJointDef_Initialize | ( | b2WeldJointDef * | def, |
b2Body * | body1, | ||
b2Body * | body2, | ||
const VECTOR * | anchor | ||
) |
Initialize the bodies, anchors, and reference angle using a world anchor point.
void b2WeldJointDef_SetLocalAnchorA | ( | b2WeldJointDef * | def, |
const VECTOR * | localAnchor | ||
) |
Set local anchor A The local anchor point relative to body1's origin.
void b2WeldJointDef_SetLocalAnchorB | ( | b2WeldJointDef * | def, |
const VECTOR * | localAnchor | ||
) |
Set local anchor B The local anchor point relative to body2's origin.
void b2WeldJointDef_SetReferenceAngle | ( | b2WeldJointDef * | def, |
var | referenceAngle | ||
) |
The body2 angle minus body1 angle in the reference state (radians).