浏览代码

reset params broken

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

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


public void SetBall()
{
scale = m_ResetParams.GetWithDefault("scale", .5f);
scale = .5f;//m_ResetParams.GetWithDefault("scale", .5f);
ball.transform.localScale = new Vector3(scale, scale, scale);
}

正在加载...
取消
保存