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:
Inheritance graph
[legend]

Public Member Functions

 b2JointDef ()
 

Public Attributes

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...
 
b2JointType type
 The joint type is set automatically for concrete joint types. More...
 
voiduserData
 Use this to attach application specific data to your joints. More...
 

Detailed Description

Joint definitions are used to construct joints.

Definition at line 74 of file b2Joint.h.

Constructor & Destructor Documentation

b2JointDef::b2JointDef ( )
inline

Definition at line 76 of file b2Joint.h.

Member Data Documentation

b2Body* b2JointDef::bodyA

The first attached body.

Definition at line 92 of file b2Joint.h.

b2Body* b2JointDef::bodyB

The second attached body.

Definition at line 95 of file b2Joint.h.

bool b2JointDef::collideConnected

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

Definition at line 98 of file b2Joint.h.

b2JointType b2JointDef::type

The joint type is set automatically for concrete joint types.

Definition at line 86 of file b2Joint.h.

void* b2JointDef::userData

Use this to attach application specific data to your joints.

Definition at line 89 of file b2Joint.h.


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


mvsim
Author(s):
autogenerated on Fri May 7 2021 03:05:52