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

# ForceMode.velocity

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

## Declaration

```swift
case velocity
```

## Discussion

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