<!--
{
  "availability" : [
    "iOS: 27.0.0 -",
    "iPadOS: 27.0.0 -",
    "visionOS: 27.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "RealityKit",
  "identifier" : "/documentation/RealityKit/ClothBodyComponent/ColliderBinding-swift.struct/distanceLimits",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "RealityKit"
    ],
    "preciseIdentifier" : "s:22RealityFoundationCloth0C13BodyComponentV15ColliderBindingV14distanceLimitsAA03PerC10VertexDataVySfGvp"
  },
  "title" : "distanceLimits"
}
-->

# distanceLimits

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

```
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.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)