fixedStep method
Runs one fixed step.
Implementation
void fixedStep(double fixedDt) {
onFixedStepStart?.call();
app.world.fixedTime
..delta = fixedDt
..tick += 1;
_latch.beginStep();
try {
app.runSchedule(Schedules.fixedPrePhysics);
} finally {
_latch.endStep();
}
app.world.removeAfterTrackerOrNull?.tick(fixedDt);
onCommandBoundary?.call();
}