浏览代码

remove debug print

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

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


// calculate angle between m_InvertMult * 35 and m_InvertMult * 145
var angle = 55f * rotate + m_InvertMult * k_Angle;
var rotateZ = angle - gameObject.transform.rotation.eulerAngles.z;
Debug.Log(rotateZ);
gameObject.transform.Rotate(0f, 0f, rotateZ);
//m_AgentRb.transform.rotation = Quaternion.Euler(0f, -180f, 55f * rotate + m_InvertMult * 90f);

正在加载...
取消
保存