PlayRho  2.0.0
An interactive physics engine & library.
playrho::d2::JointConf Struct Reference

Base joint definition class. More...

#include <playrho/d2/JointConf.hpp>

Inheritance diagram for playrho::d2::JointConf:
[legend]
Collaboration diagram for playrho::d2::JointConf:
[legend]

Public Attributes

BodyID bodyA = InvalidBodyID
 1st attached body.
 
BodyID bodyB = InvalidBodyID
 2nd attached body.
 
bool collideConnected = false
 Collide connected. More...
 

Related Functions

(Note that these are not member functions.)

void Set (JointConf &def, const Joint &joint) noexcept
 Sets the joint definition data for the given joint.
 

Detailed Description

Base joint definition class.

Joint definitions are used to construct joints.

Member Data Documentation

◆ collideConnected

bool playrho::d2::JointConf::collideConnected = false

Collide connected.

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

Referenced by playrho::d2::JointBuilder< T >::UseCollideConnected().


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