|
Box2D
3.0.0
A Real-Time-Oriented 2-D Physics Engine
|
Abstract base Joint Definition class. More...
#include <Joint.hpp>
Public Member Functions | |
| JointDef ()=delete | |
| Deleted default constructor for abstract base class. More... | |
| constexpr | JointDef (JointType t) noexcept |
| constexpr | JointDef (JointType t, Body *bA, Body *bB, bool cc=false, void *u=nullptr) noexcept |
Public Attributes | |
| const JointType | type |
| The joint type is set automatically for concrete joint types. More... | |
| Body * | bodyA = nullptr |
| The first attached body. More... | |
| Body * | bodyB = nullptr |
| The second attached body. More... | |
| bool | collideConnected = false |
| Set this flag to true if the attached bodies should collide. More... | |
| void * | userData = nullptr |
| Use this to attach application specific data to your joints. More... | |
Abstract base Joint Definition class.
Joint definitions are used to construct joints.
|
delete |
Deleted default constructor for abstract base class.
|
inlinenoexcept |
|
inlinenoexcept |
| Body* box2d::JointDef::bodyA = nullptr |
The first attached body.
| Body* box2d::JointDef::bodyB = nullptr |
The second attached body.
| bool box2d::JointDef::collideConnected = false |
Set this flag to true if the attached bodies should collide.
| const JointType box2d::JointDef::type |
The joint type is set automatically for concrete joint types.
| void* box2d::JointDef::userData = nullptr |
Use this to attach application specific data to your joints.
1.8.14