![]()  | 
  
    Jolt Physics
    
   A multi core friendly Game Physics Engine 
   | 
 
#include <Jolt/Core/Reference.h>#include <Jolt/Core/NonCopyable.h>#include <Jolt/Core/Result.h>#include <Jolt/ObjectStream/SerializableObject.h>Go to the source code of this file.
Classes | |
| class | ConstraintSettings | 
| Class used to store the configuration of a constraint. Allows run-time creation of constraints.  More... | |
| class | Constraint | 
| Base class for all physics constraints. A constraint removes one or more degrees of freedom for a rigid body.  More... | |
Enumerations | |
| enum class | EConstraintType { Constraint , TwoBodyConstraint } | 
| Enum to identify constraint type.  More... | |
| enum class | EConstraintSubType {  Fixed , Point , Hinge , Slider , Distance , Cone , SwingTwist , SixDOF , Path , Vehicle , RackAndPinion , Gear , Pulley , User1 , User2 , User3 , User4 }  | 
| Enum to identify constraint sub type.  More... | |
| enum class | EConstraintSpace { LocalToBodyCOM , WorldSpace } | 
| Certain constraints support setting them up in local or world space. This governs what is used.  More... | |
      
  | 
  strong | 
Certain constraints support setting them up in local or world space. This governs what is used.
| Enumerator | |
|---|---|
| LocalToBodyCOM | All constraint properties are specified in local space to center of mass of the bodies that are being constrained (so e.g. 'constraint position 1' will be local to body 1 COM, 'constraint position 2' will be local to body 2 COM). Note that this means you need to subtract Shape::GetCenterOfMass() from positions!  | 
| WorldSpace | All constraint properties are specified in world space.  | 
      
  | 
  strong | 
      
  | 
  strong |