Torque2D Reference
Public Member Functions | Public Attributes | List of all members
b2JointDef Struct Reference

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

#include <b2Joint.h>

+ Inheritance diagram for b2JointDef:

Public Member Functions

 b2JointDef ()
 

Public Attributes

b2JointType type
 The joint type is set automatically for concrete joint types. More...
 
void * userData
 Use this to attach application specific data to your joints. More...
 
b2BodybodyA
 The first attached body. More...
 
b2BodybodyB
 The second attached body. More...
 
bool collideConnected
 Set this flag to true if the attached bodies should collide. More...
 

Detailed Description

Joint definitions are used to construct joints.

Constructor & Destructor Documentation

b2JointDef ( )
inline

Member Data Documentation

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.

b2JointType type

The joint type is set automatically for concrete joint types.

void* userData

Use this to attach application specific data to your joints.


The documentation for this struct was generated from the following file: