Jolt Physics
A multi core friendly Game Physics Engine
Loading...
Searching...
No Matches
PathConstraint.h File Reference

Go to the source code of this file.

Classes

class  PathConstraintSettings
 
class  PathConstraint
 Path constraint, used to constrain the degrees of freedom between two bodies to a path. More...
 

Enumerations

enum class  EPathRotationConstraintType {
  Free , ConstrainAroundTangent , ConstrainAroundNormal , ConstrainAroundBinormal ,
  ConstrainToPath , FullyConstrained
}
 How to constrain the rotation of the body to a PathConstraint. More...
 

Enumeration Type Documentation

◆ EPathRotationConstraintType

enum class EPathRotationConstraintType
strong

How to constrain the rotation of the body to a PathConstraint.

Enumerator
Free 

Do not constrain the rotation of the body at all.

ConstrainAroundTangent 

Only allow rotation around the tangent vector (following the path)

ConstrainAroundNormal 

Only allow rotation around the normal vector (perpendicular to the path)

ConstrainAroundBinormal 

Only allow rotation around the binormal vector (perpendicular to the path)

ConstrainToPath 

Fully constrain the rotation of body 2 to the path (following the tangent and normal of the path)

FullyConstrained 

Fully constrain the rotation of the body 2 to the rotation of body 1.