ReactPhysics3D  v0.10.1
C++ Physics engine library
reactphysics3d::SolveFixedJointSystem Class Reference

This class is responsible to solve the FixedJoint constraints. More...

#include <include/reactphysics3d/systems/SolveFixedJointSystem.h>

Public Member Functions

 SolveFixedJointSystem (PhysicsWorld &world, RigidBodyComponents &rigidBodyComponents, TransformComponents &transformComponents, JointComponents &jointComponents, FixedJointComponents &fixedJointComponents)
 Constructor.
 
 ~SolveFixedJointSystem ()=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.
 

Detailed Description

This class is responsible to solve the FixedJoint constraints.


The documentation for this class was generated from the following files: