Public Member Functions | Public Attributes | List of all members
ime::JointDefinition Struct Reference

Define the properties of a Joint. More...

#include <JointDefinition.h>

Inheritance diagram for ime::JointDefinition:
ime::DistanceJointDefinition

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< BodybodyA
 The first attached body. More...
 
std::shared_ptr< BodybodyB
 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...
 

Detailed Description

Define the properties of a Joint.

A joint definition is used to create a Joint

Definition at line 47 of file JointDefinition.h.

Constructor & Destructor Documentation

◆ JointDefinition()

ime::JointDefinition::JointDefinition ( )

Constructor.

Member Data Documentation

◆ areBodiesCollidable

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.

◆ bodyA

std::shared_ptr<Body> ime::JointDefinition::bodyA

The first attached body.

Definition at line 58 of file JointDefinition.h.

◆ bodyB

std::shared_ptr<Body> ime::JointDefinition::bodyB

The second attached body.

Definition at line 59 of file JointDefinition.h.

◆ type

JointType ime::JointDefinition::type

The type of the joint defined by this definition (set automatically)

Definition at line 57 of file JointDefinition.h.

◆ userData

PropertyContainer ime::JointDefinition::userData

May be used to store application specific Joint data.

Definition at line 61 of file JointDefinition.h.


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