public void Tick(float dt) { ElapsedTime += dt; DefaultWorld.SetTime(new TimeData(ElapsedTime, dt)); ServerWorld?.SetTime(new TimeData(ElapsedTime, dt)); ClientWorld?.SetTime(new TimeData(ElapsedTime, dt)); ServerWorld?.GetExistingSystem <ServerInitializationSystemGroup>().Update(); ClientWorld.GetExistingSystem <ClientInitializationSystemGroup>().Update(); DefaultWorld.GetExistingSystem <ChainServerSimulationSystem>().Update(); DefaultWorld.GetExistingSystem <ChainClientSimulationSystem>().Update(); ClientWorld.GetExistingSystem <ClientPresentationSystemGroup>().Update(); }
protected override IDeterminismTestSystem GetTestSystem() => DefaultWorld.GetExistingSystem <HavokPhysicsDeterminismTestSystem>();