private void FixedUpdate()
    {
        InputSensors();

        int inp = 0;

        foreach (float input in inputsOfNN)
        {
            network.inputNodes[inp, 0] = input;
            inp++;
        }

        network.Calculate();
        if (alive)
        {
            MoveCar((float)network.outputNodes[0, 0], (float)network.outputNodes[1, 0]);
        }
        else
        {
            if (canWrite)
            {
                inf.aliveCreature -= 1;
                canWrite           = false;
                transform.gameObject.SetActive(false);
            }
        }

        timeSinceStart  += Time.fixedDeltaTime;
        timeForCheckPos += Time.fixedDeltaTime;
        CalculateFitness();
    }