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