浏览代码

try loc pos

/hh-develop-ragdoll-testing
HH 5 年前
当前提交
29d7eb2b
共有 3 个文件被更改,包括 1014 次插入1 次删除
  1. 3
      Project/Assets/ML-Agents/Examples/Crawler/Scripts/CrawlerAgent.cs
  2. 1001
      Project/Assets/ML-Agents/Examples/Crawler/TFModels/CrawlerDynamic 1.nn
  3. 11
      Project/Assets/ML-Agents/Examples/Crawler/TFModels/CrawlerDynamic 1.nn.meta

3
Project/Assets/ML-Agents/Examples/Crawler/Scripts/CrawlerAgent.cs


//Get position relative to hips in the context of our orientation cube's space
// sensor.AddObservation(orientationCube.transform.InverseTransformDirection(bp.rb.position - body.position));
sensor.AddObservation(bp.rb.position - body.position);
// sensor.AddObservation(bp.rb.position - body.position);
sensor.AddObservation(bp.rb.transform.localPosition);
if (bp.rb.transform != body)
{
sensor.AddObservation(bp.rb.transform.localRotation);

1001
Project/Assets/ML-Agents/Examples/Crawler/TFModels/CrawlerDynamic 1.nn
文件差异内容过多而无法显示
查看文件

11
Project/Assets/ML-Agents/Examples/Crawler/TFModels/CrawlerDynamic 1.nn.meta


fileFormatVersion: 2
guid: 4423005e5eb3746d9b4fe109b4d2ad44
ScriptedImporter:
fileIDToRecycleName:
11400000: main obj
11400002: model data
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
script: {fileID: 11500000, guid: 19ed1486aa27d4903b34839f37b8f69f, type: 3}
正在加载...
取消
保存