Skip to content

@modoki/engine / index / stepSimulation

Function: stepSimulation()

stepSimulation(world, ticks?, opts?): void

Run ticks fixed-dt pipeline frames deterministically. Returns nothing — read results off the world (traits / event journal) after.

Parameters

world

World

ticks?

number = 1

opts?

StepOptions = {}

Returns

void

Built with Modoki.