Define the properties of a Joint. More...
#include <JointDefinition.h>
Public Member Functions | |
JointDefinition () | |
Constructor. More... | |
Public Attributes | |
JointType | type |
The type of the joint defined by this definition (set automatically) More... | |
std::shared_ptr< Body > | bodyA |
The first attached body. More... | |
std::shared_ptr< Body > | bodyB |
The second attached body. More... | |
bool | areBodiesCollidable |
A flag indicating whether or not the joined bodies can collide with each other. More... | |
PropertyContainer | userData |
May be used to store application specific Joint data. More... | |
Define the properties of a Joint.
A joint definition is used to create a Joint
Definition at line 47 of file JointDefinition.h.
ime::JointDefinition::JointDefinition | ( | ) |
Constructor.
bool ime::JointDefinition::areBodiesCollidable |
A flag indicating whether or not the joined bodies can collide with each other.
Definition at line 60 of file JointDefinition.h.
std::shared_ptr<Body> ime::JointDefinition::bodyA |
The first attached body.
Definition at line 58 of file JointDefinition.h.
std::shared_ptr<Body> ime::JointDefinition::bodyB |
The second attached body.
Definition at line 59 of file JointDefinition.h.
JointType ime::JointDefinition::type |
The type of the joint defined by this definition (set automatically)
Definition at line 57 of file JointDefinition.h.
PropertyContainer ime::JointDefinition::userData |
May be used to store application specific Joint data.
Definition at line 61 of file JointDefinition.h.