---
title: distances
framework: realitykit
role: symbol
role_heading: Instance Property
path: realitykit/forceeffectparameters/distances
---

# distances

The distance from the effect to each rigid body’s center of mass, or nil if distance information was not requested.

## Declaration

```swift
let distances: UnsafeForceEffectBuffer<Float>?
```
