| Parameter | Description |
|---|---|
| deltaTime | The amount of time to forward simulate the world. |
Simulate the world.
If deltaTime is zero then only contact and trigger events will be updated and no velocity or position integration or constraint updates will occur.
| Parameter | Description |
|---|---|
| worlds | The worlds to forward simulate. |
| deltaTime | The amount of time to forward simulate the world. |
int The number of worlds that were ignored (not simulated because the world was invalid). A single warning is logged when any are ignored. If the delta time is invalid, nothing is simulated and every world is counted as ignored.
Simulate a batch of worlds.
If deltaTime is zero then only contact and trigger events will be updated and no velocity or position integration or constraint updates will occur.
The worlds can be simulated concurrently depending on the setting of PhysicsCoreSettings2D.concurrentSimulations.