<!--
{
  "availability" : [
    "Reality Composer Pro: -",
    "iOS: 27.0.0 -",
    "iPadOS: 27.0.0 -",
    "macCatalyst: 27.0.0 -",
    "macOS: 27.0.0 -",
    "tvOS: 27.0.0 -",
    "visionOS: 27.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "ComputeGraph",
  "identifier" : "/documentation/ComputeGraph/ComputeGraphSimulation/fastForward(stepCount:stepDeltaTime:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "Compute Graph",
      "ComputeGraph"
    ],
    "preciseIdentifier" : "s:12ComputeGraph0aB10SimulationC11fastForward9stepCount0F9DeltaTimeySi_SftF"
  },
  "title" : "fastForward(stepCount:stepDeltaTime:)"
}
-->

# fastForward(stepCount:stepDeltaTime:)

Advances the particle simulation by multiple steps in a single operation.

```
final func fastForward(stepCount: Int, stepDeltaTime: Float)
```

## Parameters

`stepCount`

The number of simulation steps to execute. Each step represents
one iteration of the simulation update cycle. Must be positive.

`stepDeltaTime`

The time interval (in seconds) to use for each simulation step.
This controls how much simulated time passes with each step.
Smaller values provide more accurate simulation at the cost
of requiring more steps to advance the same amount of time.

## Discussion

This method performs batch simulation updates by executing multiple simulation steps
consecutively within a single compute command buffer, skipping any non-simulation work
such as updating the output buffers. This is useful for:

> Note: The simulation will be advanced by a total time of `stepCount * stepDeltaTime` seconds.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)