ReactPhysics3D: reactphysics3d::JointInfo Struct Reference

| ReactPhysics3D v0.10.2 C++ Physics engine library

Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
reactphysics3d::JointInfo Struct Reference

This structure is used to gather the information needed to create a joint. More...

`#include <include/reactphysics3d/constraint/Joint.h>`

Inheritance diagram for reactphysics3d::JointInfo:

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

## Detailed Description

This structure is used to gather the information needed to create a joint.

## Member Data Documentation

## ◆ positionCorrectionTechnique

JointsPositionCorrectionTechnique reactphysics3d::JointInfo::positionCorrectionTechnique

Position correction technique used for the constraint (used for joints).

By default, the NON_LINEAR_GAUSS_SEIDEL technique is used

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

- include/reactphysics3d/constraint/Joint.h