Search Unity

Question Changing Branch Size in Runtime

Discussion in 'ML-Agents' started by ilaydanil, May 27, 2020.

  1. ilaydanil

    ilaydanil

    Joined:
    May 17, 2020
    Posts:
    20
    In my game, I have a turret that automatically shoots the chosen target. I use an agent to make decision on which enemy it targets. For this, I use discrete space type. My problem is the amount of the enemies change all the time and I don't know how to change the range of the numbers OnActionReceived receives.
     
  2. MrWetsnow

    MrWetsnow

    Joined:
    Jan 5, 2020
    Posts:
    60