Joint definitions are used to construct joints. More...
#include <b2_joint.h>
Public Member Functions | |
b2JointDef () | |
Public Attributes | |
b2Body * | bodyA |
The first attached body. More... | |
b2Body * | bodyB |
The second attached body. More... | |
bool | collideConnected |
Set this flag to true if the attached bodies should collide. More... | |
b2JointType | type |
The joint type is set automatically for concrete joint types. More... | |
b2JointUserData | userData |
Use this to attach application specific data to your joints. More... | |
Joint definitions are used to construct joints.
Definition at line 72 of file b2_joint.h.
|
inline |
Definition at line 74 of file b2_joint.h.
b2Body* b2JointDef::bodyA |
The first attached body.
Definition at line 89 of file b2_joint.h.
b2Body* b2JointDef::bodyB |
The second attached body.
Definition at line 92 of file b2_joint.h.
bool b2JointDef::collideConnected |
Set this flag to true if the attached bodies should collide.
Definition at line 95 of file b2_joint.h.
b2JointType b2JointDef::type |
The joint type is set automatically for concrete joint types.
Definition at line 83 of file b2_joint.h.
b2JointUserData b2JointDef::userData |
Use this to attach application specific data to your joints.
Definition at line 86 of file b2_joint.h.