浏览代码

Reducing torque to 150. Makes it learn faster.

/PhysXArticulations20201
Vilmantas Balasevicius 5 年前
当前提交
1e4e02d3
共有 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;

正在加载...
取消
保存