浏览代码

Make collab env harder

/MLA-1734-demo-provider
Ervin Teng 4 年前
当前提交
5ee6efb0
共有 3 个文件被更改,包括 9 次插入10 次删除
  1. 7
      Project/Assets/ML-Agents/Examples/WallJump/Prefabs/WallJumpCollabArea.prefab
  2. 10
      Project/Assets/ML-Agents/Examples/WallJump/Scenes/WallJumpCollab.unity
  3. 2
      Project/Assets/ML-Agents/Examples/WallJump/Scripts/WallJumpCollabAgent.cs

7
Project/Assets/ML-Agents/Examples/WallJump/Prefabs/WallJumpCollabArea.prefab


VectorActionSize: 03000000030000000300000002000000
VectorActionDescriptions: []
VectorActionSpaceType: 0
m_Model: {fileID: 11400000, guid: 0468bf44b1efd4992b6bf22cadb50d89, type: 3}
m_Model: {fileID: 11400000, guid: 327490f9c2aca401a85b04307d24367a, type: 3}
m_InferenceDevice: 0
m_BehaviorType: 0
m_BehaviorName: SmallWallJump

- {fileID: 1195095783991828}
- {fileID: 1754484102168309301}
- {fileID: 536984960628250720}
ground: {fileID: 0}
--- !u!1 &1438278873213570
GameObject:
m_ObjectHideFlags: 0

VectorActionSize: 03000000030000000300000002000000
VectorActionDescriptions: []
VectorActionSpaceType: 0
m_Model: {fileID: 11400000, guid: 0468bf44b1efd4992b6bf22cadb50d89, type: 3}
m_Model: {fileID: 11400000, guid: 327490f9c2aca401a85b04307d24367a, type: 3}
m_InferenceDevice: 0
m_BehaviorType: 0
m_BehaviorName: SmallWallJump

VectorActionSize: 03000000030000000300000002000000
VectorActionDescriptions: []
VectorActionSpaceType: 0
m_Model: {fileID: 11400000, guid: 0468bf44b1efd4992b6bf22cadb50d89, type: 3}
m_Model: {fileID: 11400000, guid: 327490f9c2aca401a85b04307d24367a, type: 3}
m_InferenceDevice: 0
m_BehaviorType: 0
m_BehaviorName: SmallWallJump

10
Project/Assets/ML-Agents/Examples/WallJump/Scenes/WallJumpCollab.unity


- {fileID: 365376271}
- {fileID: 1265651286}
m_Father: {fileID: 0}
m_RootOrder: 5
m_RootOrder: 4
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1001 &329353032
PrefabInstance:

- target: {fileID: 224194346362733190, guid: 3ce107b4a79bc4eef83afde434932a68,
type: 3}
propertyPath: m_RootOrder
value: 7
value: 6
objectReference: {fileID: 0}
- target: {fileID: 224194346362733190, guid: 3ce107b4a79bc4eef83afde434932a68,
type: 3}

m_LocalScale: {x: 1, y: 1, z: 1}
m_Children: []
m_Father: {fileID: 0}
m_RootOrder: 6
m_RootOrder: 5
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1001 &1365139567
PrefabInstance:

m_Name:
m_EditorClassIdentifier:
agentRunSpeed: 3
agentJumpHeight: 2.75
agentJumpHeight: 2
goalScoredMaterial: {fileID: 2100000, guid: df32cc593804f42df97464dc455057b8, type: 2}
failMaterial: {fileID: 2100000, guid: a1daf31cdf41e484ca9ac33a5c6f524a, type: 2}
agentJumpVelocity: 777

m_Modifications:
- target: {fileID: 4768003208014390, guid: ff1a5743be49d43f08378dcd76451821, type: 3}
propertyPath: m_RootOrder
value: 4
value: 7
objectReference: {fileID: 0}
m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: ff1a5743be49d43f08378dcd76451821, type: 3}

2
Project/Assets/ML-Agents/Examples/WallJump/Scripts/WallJumpCollabAgent.cs


protected override void ConfigureAgent(int config)
{
var localScale = wall.transform.localScale;
var height = m_ResetParams.GetWithDefault("big_wall_height", 8);
var height = m_ResetParams.GetWithDefault("big_wall_height", 10);
localScale = new Vector3(
localScale.x,
height,

正在加载...
取消
保存