---
title: restDistance
framework: realitykit
role: symbol
role_heading: Instance Property
path: realitykit/radialforceeffect/restdistance
---

# restDistance

A distance at which the rigid bodies receive zero radial force.

## Declaration

```swift
let restDistance: Float
```

## Discussion

Discussion Use a non-negative rate. The force field pulls rigid bodies to the effect’s origin along the radial direction if this value is 0.
