![]() |
ReactPhysics3D
v0.10.2
C++ Physics engine library
|
This class is responsible to solve the BallAndSocketJoint constraints. More...
#include <include/reactphysics3d/systems/SolveHingeJointSystem.h>
Public Member Functions | |
| SolveHingeJointSystem (PhysicsWorld &world, RigidBodyComponents &rigidBodyComponents, TransformComponents &transformComponents, JointComponents &jointComponents, HingeJointComponents &hingeJointComponents) | |
| Constructor. | |
| ~SolveHingeJointSystem ()=default | |
| Destructor. | |
| void | initBeforeSolve () |
| Initialize before solving the constraint. | |
| void | warmstart () |
| Warm start the constraint (apply the previous impulse at the beginning of the step) | |
| void | solveVelocityConstraint () |
| Solve the velocity constraint. | |
| void | solvePositionConstraint () |
| Solve the position constraint (for position error correction) | |
| void | setTimeStep (decimal timeStep) |
| Set the time step. | |
| void | setIsWarmStartingActive (bool isWarmStartingActive) |
| Set to true to enable warm starting. | |
This class is responsible to solve the BallAndSocketJoint constraints.