Box2D  2.2.1
Box2D API Reference for Kobold2D developers
b2JointDef Struct Reference

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

#include <b2Joint.h>

Inheritance diagram for b2JointDef:
Collaboration diagram for b2JointDef:

List of all members.

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.


Member Data Documentation

The first attached body.

The second attached body.

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

b2JointType b2JointDef::type

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: