---
title: ForceMode.acceleration
framework: realitykit
role: symbol
role_heading: Case
path: realitykit/forcemode/acceleration
---

# ForceMode.acceleration

A direct adjustment to a body’s linear or angular acceleration, independent of its mass or inertia.

## Declaration

```swift
case acceleration
```

## Discussion

Discussion The quantity that user sets via setForce(_:index:) has the units of distance / time^2. acceleration mode causes a change in acceleration independent of a body’s mass. The quantity that user sets via setTorque(_:index:) has the units of 1 / time^2 or radian / time^2. acceleration mode causes a change in angular acceleration independent of a body’s mass or inertia.
