---
title: dampingFactor
framework: realitykit
role: symbol
role_heading: Instance Property
path: realitykit/clothsimulationcomponent/dampingfactor
---

# dampingFactor

The damping factor affecting all the cloth bodies in the simulation. The expected range is between 0 and 1 (included).

## Declaration

```swift
var dampingFactor: Float { get set }
```

## Discussion

Discussion Damping reduces particle velocities each time step, simulating drag from the surrounding medium. A value of 0 does not damp the body at all, so the velocities of the particles are unaltered. A value of 1 damps all movement, such that the particle velocities remain at zero. The default value is 0

## See Also

### Applying forces

- [gravity](realitykit/clothsimulationcomponent/gravity.md)
- [wind](realitykit/clothsimulationcomponent/wind.md)
