b2JointDef Struct Reference

Joint definitions are used to construct joints. More...

#include <b2Joint.h>

Inheritance diagram for b2JointDef:
b2DistanceJointDef b2FrictionJointDef b2GearJointDef b2LineJointDef b2MouseJointDef b2PrismaticJointDef b2PulleyJointDef b2RevoluteJointDef b2WeldJointDef

List of all members.

Public Member Functions

 b2JointDef ()

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.
b2BodybodyA
 The first attached body.
b2BodybodyB
 The second attached body.
bool collideConnected
 Set this flag to true if the attached bodies should collide.

Detailed Description

Joint definitions are used to construct joints.


Constructor & Destructor Documentation

b2JointDef::b2JointDef (  )  [inline]

Member Data Documentation

The first attached body.

The second attached body.

Set this flag to true if the attached bodies should collide.

The joint type is set automatically for concrete joint types.

Use this to attach application specific data to your joints.


The documentation for this struct was generated from the following file:
Generated on Sat Apr 3 18:18:09 2010 for Box2D by  doxygen 1.6.3