ackb2d 0.9
3D Gamestudio Box 2d Wraper

b2PrismaticJoint.h

Go to the documentation of this file.
00001 #ifndef __B2_PRISMATIC_JOINT_H__
00002 #define __B2_PRISMATIC_JOINT_H__
00003 
00005 void b2PrismaticJoint_GetAnchorA(b2PrismaticJoint *joint, VECTOR *outAnchor);
00006 
00008 void b2PrismaticJoint_GetAnchorB(b2PrismaticJoint *joint, VECTOR *outAnchor);
00009 
00011 void b2PrismaticJoint_GetReactionForce(b2PrismaticJoint *joint, var inv_dt, VECTOR *outReactionForce);
00012 
00014 var b2PrismaticJoint_GetReactionTorque(b2PrismaticJoint *joint, var inv_dt);
00015 
00017 var b2PrismaticJoint_GetJointTranslation(b2PrismaticJoint *joint);
00018 
00020 var b2PrismaticJoint_GetJointSpeed(b2PrismaticJoint *joint);
00021 
00023 var b2PrismaticJoint_IsLimitEnabled(b2PrismaticJoint *joint);
00024 
00026 void b2PrismaticJoint_EnableLimit(b2PrismaticJoint *joint, var flag);
00027 
00029 var b2PrismaticJoint_GetLowerLimit(b2PrismaticJoint *joint);
00030 
00032 var b2PrismaticJoint_GetUpperLimit(b2PrismaticJoint *joint);
00033 
00035 void b2PrismaticJoint_SetLimits(b2PrismaticJoint *joint, var lower, var upper);
00036 
00038 var b2PrismaticJoint_IsMotorEnabled(b2PrismaticJoint *joint);
00039 
00041 void b2PrismaticJoint_EnableMotor(b2PrismaticJoint *joint, var flag);
00042 
00044 void b2PrismaticJoint_SetMotorSpeed(b2PrismaticJoint *joint, var speed);
00045 
00047 var b2PrismaticJoint_GetMotorSpeed(b2PrismaticJoint *joint);
00048 
00050 void b2PrismaticJoint_SetMaxMotorForce(b2PrismaticJoint *joint, var force);
00051 
00053 var b2PrismaticJoint_GetMotorForce(b2PrismaticJoint *joint);
00054 
00055 #endif // __B2_PRISMATIC_JOINT_H__
 All Data Structures Files Functions Variables Typedefs Defines