浏览代码

remove unused code

/active-variablespeed
HH 4 年前
当前提交
ad012869
共有 1 个文件被更改,包括 0 次插入1 次删除
  1. 1
      Project/Assets/ML-Agents/Examples/SharedAssets/Scripts/OrientationCubeController.cs

1
Project/Assets/ML-Agents/Examples/SharedAssets/Scripts/OrientationCubeController.cs


public void UpdateOrientation(Vector3 pos, Vector3 dirVector)
{
// var dirVector = target.position - transform.position;
dirVector.y = 0; //flatten dir on the y. this will only work on level surfaces
var lookRot =
dirVector == Vector3.zero

正在加载...
取消
保存