---
title: ForceMode
framework: realitykit
role: symbol
role_heading: Enumeration
path: realitykit/forcemode
---

# ForceMode

The options that control how physics system applies the forces.

## Declaration

```swift
enum ForceMode
```

## Overview

Overview ForceMode allows you to customize how the physics system applies the force-like vector quantity that you set via setForce(_:index:) and setTorque(_:index:). For example, ForceMode.force indicates the vector quantity has the unit of force, which is the most common choice. You can use ForceMode.acceleration to exert a constant acceleration on rigid bodies regardless of their mass.

## Topics

### Enumeration Cases

- [ForceMode.acceleration](realitykit/forcemode/acceleration.md)
- [ForceMode.force](realitykit/forcemode/force.md)
- [ForceMode.impulse](realitykit/forcemode/impulse.md)
- [ForceMode.velocity](realitykit/forcemode/velocity.md)

## Relationships

### Conforms To

- [Decodable](swift/decodable.md)
- [Encodable](swift/encodable.md)
- [Equatable](swift/equatable.md)
- [Escapable](swift/escapable.md)
- [Hashable](swift/hashable.md)

## See Also

### Custom forces

- [ForceEffectProtocol](realitykit/forceeffectprotocol.md)
- [ForceEffectParameters](realitykit/forceeffectparameters.md)
- [ForceEffectBase](realitykit/forceeffectbase.md)
