Search Unity

  1. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  2. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice

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