Box2D 2.4.1
A 2D physics engine for games
Loading...
Searching...
No Matches
b2JointDef Struct Reference

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

#include <b2_joint.h>

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

Public Attributes

b2JointType type
 The joint type is set automatically for concrete joint types.
 
b2JointUserData 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.


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