浏览代码

Removing testing code in PushAgentBasic.cs.

/develop-generalizationTraining-TrainerController
Deric Pang 6 年前
当前提交
1397f477
共有 1 个文件被更改,包括 0 次插入7 次删除
  1. 7
      unity-environment/Assets/ML-Agents/Examples/PushBlock/Scripts/PushAgentBasic.cs

7
unity-environment/Assets/ML-Agents/Examples/PushBlock/Scripts/PushAgentBasic.cs


transform.position = GetRandomSpawnPos();
agentRB.velocity = Vector3.zero;
agentRB.angularVelocity = Vector3.zero;
// Set the size of the goal according to the current lesson in the
// curriculum.
goal.transform.localScale = new Vector3(
academy.resetParameters["goal_width"],
goal.transform.localScale.y,
academy.resetParameters["goal_length"]);
}
}
正在加载...
取消
保存