---
title: distanceLimits
framework: realitykit
role: symbol
role_heading: Instance Property
path: realitykit/clothbodycomponent/colliderbinding-swift.struct/distancelimits
---

# distanceLimits

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

## Declaration

```swift
var distanceLimits: PerClothVertexData<Float>
```

## Discussion

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

- [teleportThresholdSpeed](realitykit/clothbodycomponent/colliderbinding-swift.struct/teleportthresholdspeed.md)
