---
title: suspensionRestLength
framework: scenekit
role: symbol
role_heading: Instance Property
path: scenekit/scnphysicsvehiclewheel/suspensionrestlength
---

# suspensionRestLength

The resting length of the suspension, in meters.

## Declaration

```swift
var suspensionRestLength: CGFloat { get set }
```

## Discussion

Discussion This property measures the length of the simulated spring between the vehicle and its wheel when the spring is not stressed by the weight of either body. When the wheel receives a shock (for example, when the vehicle runs over a bump), SceneKit adds the difference between the wheel’s current position and its connection position to this rest length and then applies a force between the wheel and vehicle proportional to the total.

## See Also

### Simulating Suspension

- [suspensionStiffness](scenekit/scnphysicsvehiclewheel/suspensionstiffness.md)
- [suspensionCompression](scenekit/scnphysicsvehiclewheel/suspensioncompression.md)
- [suspensionDamping](scenekit/scnphysicsvehiclewheel/suspensiondamping.md)
- [maximumSuspensionTravel](scenekit/scnphysicsvehiclewheel/maximumsuspensiontravel.md)
- [maximumSuspensionForce](scenekit/scnphysicsvehiclewheel/maximumsuspensionforce.md)
