浏览代码

Merge branch 'PhysXArticulations20201' of https://github.com/Unity-Technologies/ml-agents into PhysXArticulations20201

/PhysXArticulations20201
Vilmantas Balasevicius 5 年前
当前提交
6dc72657
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 2
      UnitySDK/Assets/ML-Agents/Examples/Reacher/Scripts/ArticulatedReacherAgent.cs

2
UnitySDK/Assets/ML-Agents/Examples/Reacher/Scripts/ArticulatedReacherAgent.cs


UpdateGoalPosition();
//float maxTorque = 150f;
float maxTorque = 250f;
float maxTorque = 150f;
var torqueX = Mathf.Clamp(vectorAction[0], -1f, 1f) * maxTorque;
var torqueZ = Mathf.Clamp(vectorAction[1], -1f, 1f) * maxTorque;

正在加载...
取消
保存