|  | ReactPhysics3D
    v0.10.2
    C++ Physics engine library | 
This structure is used to gather the information needed to create a joint. More...
#include <include/reactphysics3d/constraint/Joint.h>
 
  
| Public Member Functions | |
| JointInfo (JointType constraintType) | |
| Constructor. | |
| JointInfo (RigidBody *rigidBody1, RigidBody *rigidBody2, JointType constraintType) | |
| Constructor. | |
| virtual | ~JointInfo ()=default | 
| Destructor. | |
| Public Attributes | |
| RigidBody * | body1 | 
| First rigid body of the joint. | |
| RigidBody * | body2 | 
| Second rigid body of the joint. | |
| JointType | type | 
| Type of the joint. | |
| JointsPositionCorrectionTechnique | positionCorrectionTechnique | 
| Position correction technique used for the constraint (used for joints). | |
| bool | isCollisionEnabled | 
| True if the two bodies of the joint are allowed to collide with each other. | |
This structure is used to gather the information needed to create a joint.
| JointsPositionCorrectionTechnique reactphysics3d::JointInfo::positionCorrectionTechnique | 
Position correction technique used for the constraint (used for joints).
By default, the NON_LINEAR_GAUSS_SEIDEL technique is used