---
title: didSimulatePhysics()
framework: spritekit
role: symbol
role_heading: Instance Method
path: spritekit/skscene/didsimulatephysics()
---

# didSimulatePhysics()

Tells your app to peform any necessary logic after physics simulations are performed.

## Declaration

```swift
func didSimulatePhysics()
```

## Mentioned in

Responding to Frame-Cycle Events

## Discussion

Discussion Do not call this method directly; it is called by the system exactly once per frame, so long as the scene is presented in a view and is not paused. It is called after physics has been simulated in the scene. Any additional actions applied are not evaluated until the next update. Any changes to physics bodies are not simulated until the next update.

## See Also

### Responding to Frame-Cycle Events

- [Responding to Frame-Cycle Events](spritekit/responding-to-frame-cycle-events.md)
- [update(_:)](spritekit/skscene/update(_:).md)
- [didEvaluateActions()](spritekit/skscene/didevaluateactions().md)
- [didApplyConstraints()](spritekit/skscene/didapplyconstraints().md)
- [didFinishUpdate()](spritekit/skscene/didfinishupdate().md)
