---
title: rollingFriction
framework: scenekit
role: symbol
role_heading: Instance Property
path: scenekit/scnphysicsbody/rollingfriction
---

# rollingFriction

The body’s resistance to rolling motion.

## Declaration

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

## Discussion

Discussion This property simulates the traction between a rounded body and bodies it might roll against. A rolling friction of 0.0 (the default) means that a body induced to roll (for example, by being placed on an inclined surface) will continue to roll without slowing down unless otherwise acted upon, and a rolling friction of 1.0 prevents the body from rolling.

## See Also

### Defining a Body’s Physical Properties

- [mass](scenekit/scnphysicsbody/mass.md)
- [charge](scenekit/scnphysicsbody/charge.md)
- [friction](scenekit/scnphysicsbody/friction.md)
- [restitution](scenekit/scnphysicsbody/restitution.md)
- [damping](scenekit/scnphysicsbody/damping.md)
- [angularDamping](scenekit/scnphysicsbody/angulardamping.md)
- [momentOfInertia](scenekit/scnphysicsbody/momentofinertia.md)
- [usesDefaultMomentOfInertia](scenekit/scnphysicsbody/usesdefaultmomentofinertia.md)
- [centerOfMassOffset](scenekit/scnphysicsbody/centerofmassoffset.md)
