浏览代码

increased reward for shooting big agent

/asymm-envs
Andrew Cohen 5 年前
当前提交
5cd88455
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 2
      Project/Assets/ML-Agents/Examples/CubeWars/Scripts/SmallCubeAgent.cs

2
Project/Assets/ML-Agents/Examples/CubeWars/Scripts/SmallCubeAgent.cs


{
hit.collider.gameObject.GetComponent<LargeCubeAgent>().HitAgent(.05f);
AddReward(.1f * m_Bonus);
AddReward(.5f * m_Bonus);
}
}
}

正在加载...
取消
保存