+#include <PxCloth.h>
+
+ +
Public Member Functions | |
| PX_INLINE | PxClothTetherConfig (PxReal stiffness_=1.0f, PxReal stretchLimit_=1.0f) |
| Constructor sets to default. | |
Public Attributes | |
| PxReal | stiffness |
| Stiffness of the tether constraints. | |
| PxReal | stretchLimit |
| Scale of tether lengths when applying tether constraints. | |
+
+PxClothFabric for information on actual tether constraints in Cloth fabric.
| PX_INLINE PxClothTetherConfig::PxClothTetherConfig | +( | +PxReal | + stiffness_ = 1.0f, |
+ |
| + | + | PxReal | + stretchLimit_ = 1.0f | + |
| + | ) | + [inline] |
+
+Constructor sets to default. +
+ +
+
| PxReal PxClothTetherConfig::stiffness | +
+Stiffness of the tether constraints. +
+Defines for the tether constraints how much of the error between current distance and tether length to correct per stiffness period (see PxCloth::setStiffnessFrequency). A value of 0 means no correction, a value of 1 corrects to rest length. The default stiffness is 1.0. +
| PxReal PxClothTetherConfig::stretchLimit | +
+Scale of tether lengths when applying tether constraints. +
+The limit distance of a tether constraint is computed as the product of stretchLimit and the tether length. The default limit is 1.0. +
+