浏览代码

About to do cleanup

/active-variablespeed
HH 4 年前
当前提交
f8bd79cb
共有 3 个文件被更改,包括 4 次插入4 次删除
  1. 8
      Project/Assets/ML-Agents/Examples/Walker/Scripts/WalkerAgent.cs
  2. 0
      /Project/Assets/ML-Agents/Examples/Walker/TFModels/WalkerDynamic ApprovedMovingTarget_NEWDOT_25M_Cloud.nn
  3. 0
      /Project/Assets/ML-Agents/Examples/Walker/TFModels/WalkerDynamic ApprovedMovingTarget_NEWDOT_25M_Cloud.nn.meta

8
Project/Assets/ML-Agents/Examples/Walker/Scripts/WalkerAgent.cs


}
[Header("Walk Direction")] public WalkDirectionMethod walkDirectionMethod;
public Vector3 dirToLook = Vector3.right;
public Vector3 dirToWalk = Vector3.right;
public Transform target; //Target the agent will walk towards.
[Header("Body Parts")] public Transform hips;

//Update OrientationCube and DirectionIndicator
void UpdateOrientationObjects()
{
dirToLook = walkDirectionMethod == WalkDirectionMethod.UseTarget
dirToWalk = walkDirectionMethod == WalkDirectionMethod.UseTarget
: dirToLook;
m_OrientationCube.UpdateOrientation(hips.position, dirToLook);
: dirToWalk;
m_OrientationCube.UpdateOrientation(hips.position, dirToWalk);
m_DirectionIndicator.MatchOrientation(m_OrientationCube.transform);
}

/Project/Assets/ML-Agents/Examples/Walker/TFModels/WalkerDynamicMovingTarget_NEWDOT_25M_Cloud.nn → /Project/Assets/ML-Agents/Examples/Walker/TFModels/WalkerDynamic ApprovedMovingTarget_NEWDOT_25M_Cloud.nn

/Project/Assets/ML-Agents/Examples/Walker/TFModels/WalkerDynamicMovingTarget_NEWDOT_25M_Cloud.nn.meta → /Project/Assets/ML-Agents/Examples/Walker/TFModels/WalkerDynamic ApprovedMovingTarget_NEWDOT_25M_Cloud.nn.meta

正在加载...
取消
保存