---
title: gravity
framework: realitykit
role: symbol
role_heading: Instance Property
path: realitykit/physicssimulationcomponent/gravity
---

# gravity

The gravity for the simulation relative to the simulation entity.

## Declaration

```swift
var gravity: SIMD3<Float>
```

## Discussion

Discussion The value stored in this property is the gravitational acceleration applied to dynamic physics body entities every frame along the negative world y-axis. The default value is -9.81 meters per second squared.
