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

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

#include <b2_joint.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...
 
b2JointUserData userData
 Use this to attach application specific data to your joints. More...
 

Detailed Description

Joint definitions are used to construct joints.

Definition at line 72 of file b2_joint.h.

Constructor & Destructor Documentation

◆ b2JointDef()

b2JointDef::b2JointDef ( )
inline

Definition at line 74 of file b2_joint.h.

Member Data Documentation

◆ bodyA

b2Body* b2JointDef::bodyA

The first attached body.

Definition at line 89 of file b2_joint.h.

◆ bodyB

b2Body* b2JointDef::bodyB

The second attached body.

Definition at line 92 of file b2_joint.h.

◆ collideConnected

bool b2JointDef::collideConnected

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

Definition at line 95 of file b2_joint.h.

◆ type

b2JointType b2JointDef::type

The joint type is set automatically for concrete joint types.

Definition at line 83 of file b2_joint.h.

◆ userData

b2JointUserData b2JointDef::userData

Use this to attach application specific data to your joints.

Definition at line 86 of file b2_joint.h.


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


mvsim
Author(s):
autogenerated on Tue Jul 4 2023 03:08:22