Contents

distanceLimits

Distance limits (in meters) for how much each particle is allowed to deviate from its perfectly-bound position.

Declaration

var distanceLimits: PerClothVertexData<Float>

Discussion

Each value must be non-negative. A value of 0 makes the particle fully bound to its assigned triangle in the source collider. A value of Float.infinity allows the particle to move completely free, as if no binding was happening.

See Also

Tuning collision response