private void FixedUpdate() { InputSensors(); lastPosition = transform.position; (acceleration, turnningval) = EnvironmentControler.RunNetwork(a, b, c); CarCon(acceleration, turnningval); time += Time.deltaTime; CalculateFitness(); }
private void FixedUpdate() { InputSensors(); lastPosition = transform.position; (acceleration, turnningval) = EnvironmentControler.RunNetwork(a, b, c); CarCon(acceleration, turnningval); time += Time.deltaTime; CalculateFitness(); }