PlayRho  1.1.0
An Interactive Real-Time-Oriented C++ Physics Engine & Library
playrho::d2::JointConf Struct Reference

Base joint definition class. More...

#include <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.

Examples
DistanceJoint.cpp, Joint.cpp, PulleyJoint.cpp, WeldJoint.cpp, and WheelJoint.cpp.

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


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