Joint definitions are used to construct joints. More...
#include <b2Joint.h>
Inherited by b2DistanceJointDef, b2FrictionJointDef, b2GearJointDef, b2MotorJointDef, b2MouseJointDef, b2PrismaticJointDef, b2PulleyJointDef, b2RevoluteJointDef, b2RopeJointDef, b2WeldJointDef, and b2WheelJointDef.
Public Attributes | |
| b2JointType | type |
| The joint type is set automatically for concrete joint types. | |
| void * | userData |
| Use this to attach application specific data to your joints. | |
| b2Body * | bodyA |
| The first attached body. | |
| b2Body * | bodyB |
| The second attached body. | |
| bool | collideConnected |
| Set this flag to true if the attached bodies should collide. | |
Joint definitions are used to construct joints.