浏览代码

Properly reregister agent

/develop/collab-envs-exp-ervin
Ervin Teng 4 年前
当前提交
13ef3cc8
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1
      Project/Assets/ML-Agents/Examples/PushBlock/Scripts/ZombiePushBlockDeathEnvController.cs

1
Project/Assets/ML-Agents/Examples/PushBlock/Scripts/ZombiePushBlockDeathEnvController.cs


item.Rb.velocity = Vector3.zero;
item.Rb.angularVelocity = Vector3.zero;
item.Agent.gameObject.SetActive(true);
m_AgentGroup.RegisterAgent(item.Agent);
}
//Reset Blocks

正在加载...
取消
保存