![]()  | 
  
    Jolt Physics
    
   A multi core friendly Game Physics Engine 
   | 
 
#include <SoftBodySharedSettings.h>
Public Member Functions | |
| LRA ()=default | |
| Constructor.  More... | |
| LRA (uint32 inVertex1, uint32 inVertex2, float inMaxDistance) | |
| uint32 | GetMinVertexIndex () const | 
| Return the lowest vertex index of this constraint.  More... | |
Public Attributes | |
| uint32 | mVertex [2] | 
| The vertices that are connected. The first vertex should be kinematic, the 2nd dynamic.  More... | |
| float | mMaxDistance = 0.0f | 
| The maximum distance between the vertices.  More... | |
A long range attachment constraint, this is a constraint that sets a max distance between a kinematic vertex and a dynamic vertex See: "Long Range Attachments - A Method to Simulate Inextensible Clothing in Computer Games", Tae-Yong Kim, Nuttapong Chentanez and Matthias Mueller-Fischer
      
  | 
  default | 
Constructor.
      
  | 
  inline | 
Return the lowest vertex index of this constraint.
| float SoftBodySharedSettings::LRA::mMaxDistance = 0.0f | 
The maximum distance between the vertices.
| uint32 SoftBodySharedSettings::LRA::mVertex[2] | 
The vertices that are connected. The first vertex should be kinematic, the 2nd dynamic.