Skip to content

stepWorld

stepWorld(world, step): void

Defined in: packages/engine/src/gameplay/step.ts:202

Advances the world by one step: the previous transforms, then the world’s systems in order. A plain function with no clock and no React, so a server, a test and the loop drive it alike; a world with a StepProfile times each of them on its clock.

Parameter Type
world World
step StepOptions

void