fixedStep method

void fixedStep(
  1. double fixedDt
)

Runs one fixed step.

Implementation

void fixedStep(double fixedDt) {
  app.world.resources.get<FixedTime>()
    ..delta = fixedDt
    ..tick += 1;
  app.runSchedule(Schedules.fixedPrePhysics);
  app.world.resources.tryGet<RemoveAfterTracker>()?.tick(fixedDt);
  onCommandBoundary?.call();
}