| NcEngine
    | 
Constraint settings to keep two bodies within a specified distance range. More...
#include <Constraints.h>
| Public Attributes | |
| Vector3 | ownerPosition = Vector3::Zero() | 
| local attach position | |
| Vector3 | targetPosition = Vector3::Zero() | 
| local attach position | |
| float | minLimit = 0.0f | 
| how close together bodies are allowed to be [0, maxDistance] | |
| float | maxLimit = 1.0f | 
| how far apart bodies are allowed to be [minDistance, infinity] | |
| SpringSettings | springSettings = SpringSettings{} | 
| settings to soften the limits | |
| Static Public Attributes | |
| static constexpr auto | type = ConstraintType::DistanceConstraint | 
Constraint settings to keep two bodies within a specified distance range.