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...
 
 ~JointDefinition ()
 Destructor. More...
 

Public Attributes

JointType type
 The type of the joint defined by this definition (set automatically) More...
 
RigidBodybodyA
 The first attached body. More...
 
RigidBodybodyB
 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.

◆ ~JointDefinition()

ime::JointDefinition::~JointDefinition ( )

Destructor.

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 65 of file JointDefinition.h.

◆ bodyA

RigidBody* ime::JointDefinition::bodyA

The first attached body.

Definition at line 63 of file JointDefinition.h.

◆ bodyB

RigidBody* ime::JointDefinition::bodyB

The second attached body.

Definition at line 64 of file JointDefinition.h.

◆ type

JointType ime::JointDefinition::type

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

Definition at line 62 of file JointDefinition.h.

◆ userData

PropertyContainer ime::JointDefinition::userData

May be used to store application specific Joint data.

Definition at line 66 of file JointDefinition.h.


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