浏览代码

lower agent start

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

2
Project/Assets/ML-Agents/Examples/Tennis/Scripts/TennisAgent.cs


{
m_Area.MatchReset();
}
transform.position = new Vector3(-m_InvertMult * 14f, 5f, -1.8f) + transform.parent.transform.position;
transform.position = new Vector3(-m_InvertMult * 14f, 1f, -1.8f) + transform.parent.transform.position;
m_AgentRb.velocity = new Vector3(0f, 0f, 0f);
SetResetParameters();
}

正在加载...
取消
保存