浏览代码

more rays

/soccer-comms
Andrew Cohen 4 年前
当前提交
0202e021
共有 2 个文件被更改,包括 190 次插入21 次删除
  1. 144
      Project/Assets/ML-Agents/Examples/Soccer/Prefabs/SoccerFieldTwos.prefab
  2. 67
      Project/Assets/ML-Agents/Examples/Soccer/Scenes/SoccerTwos.unity

144
Project/Assets/ML-Agents/Examples/Soccer/Prefabs/SoccerFieldTwos.prefab


- component: {fileID: 114320493772006642}
- component: {fileID: 9152743230243588598}
- component: {fileID: 798330825103180240}
- component: {fileID: 5032957679850712691}
m_Layer: 0
m_Name: PurpleStriker
m_TagString: purpleAgent

- wall
- purpleAgent
- blueAgent
m_RaysPerDirection: 5
m_RaysPerDirection: 12
m_MaxRayDegrees: 60
m_SphereCastRadius: 0.5
m_RayLength: 20

m_Name:
m_EditorClassIdentifier:
debugCommandLineOverride:
--- !u!114 &5032957679850712691
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1095606497496374}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 6bb6b867a41448888c1cd4f99643ad71, type: 3}
m_Name:
m_EditorClassIdentifier:
m_SensorName: BallRayPerceptionSensor
m_DetectableTags:
- ball
- purpleGoal
- blueGoal
- wall
m_RaysPerDirection: 8
m_MaxRayDegrees: 60
m_SphereCastRadius: 0.5
m_RayLength: 20
m_RayLayerMask:
serializedVersion: 2
m_Bits: 512
m_ObservationStacks: 3
rayHitColor: {r: 1, g: 0, b: 0, a: 1}
rayMissColor: {r: 1, g: 1, b: 1, a: 1}
m_StartVerticalOffset: 0
m_EndVerticalOffset: 0
--- !u!1 &1100217258374548
GameObject:
m_ObjectHideFlags: 0

- component: {fileID: 114516244030127556}
- component: {fileID: 404683423509059512}
- component: {fileID: 8557426429796011212}
- component: {fileID: 1525596211563862289}
m_Layer: 0
m_Name: BlueStriker
m_TagString: blueAgent

- wall
- blueAgent
- purpleAgent
m_RaysPerDirection: 5
m_RaysPerDirection: 12
m_MaxRayDegrees: 60
m_SphereCastRadius: 0.5
m_RayLength: 20

m_Name:
m_EditorClassIdentifier:
debugCommandLineOverride:
--- !u!114 &1525596211563862289
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1131626411948014}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 6bb6b867a41448888c1cd4f99643ad71, type: 3}
m_Name:
m_EditorClassIdentifier:
m_SensorName: BallRayPerceptionSensor
m_DetectableTags:
- ball
- blueGoal
- purpleGoal
- wall
m_RaysPerDirection: 8
m_MaxRayDegrees: 60
m_SphereCastRadius: 0.5
m_RayLength: 20
m_RayLayerMask:
serializedVersion: 2
m_Bits: 512
m_ObservationStacks: 3
rayHitColor: {r: 1, g: 0, b: 0, a: 1}
rayMissColor: {r: 1, g: 1, b: 1, a: 1}
m_StartVerticalOffset: 0
m_EndVerticalOffset: 0
--- !u!1 &1141134673700168
GameObject:
m_ObjectHideFlags: 0

- component: {fileID: 33151135767273144}
- component: {fileID: 23420896636371710}
- component: {fileID: 64474002074256704}
m_Layer: 0
m_Layer: 9
m_Name: WallSideA
m_TagString: wall
m_Icon: {fileID: 0}

- component: {fileID: 33588944737043670}
- component: {fileID: 23135375652557800}
- component: {fileID: 64463101538527252}
m_Layer: 0
m_Layer: 9
m_Name: WallSideB
m_TagString: wall
m_Icon: {fileID: 0}

- component: {fileID: 33594846689333450}
- component: {fileID: 23472375383448142}
- component: {fileID: 65419777742325110}
m_Layer: 0
m_Layer: 9
m_Name: GoalBlue
m_TagString: blueGoal
m_Icon: {fileID: 0}

- component: {fileID: 135993924486820224}
- component: {fileID: 114273807544954564}
- component: {fileID: 54100138833592438}
m_Layer: 0
m_Layer: 9
m_Name: Soccer Ball
m_TagString: ball
m_Icon: {fileID: 0}

m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1682753582128710}
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
m_LocalPosition: {x: 0, y: 0.5, z: 0}
m_LocalPosition: {x: 0.01, y: 0.5, z: 0}
m_LocalScale: {x: 0.015, y: 0.015, z: 0.015}
m_Children: []
m_Father: {fileID: 4558743310993102}

- component: {fileID: 33693580190047416}
- component: {fileID: 23941816170183106}
- component: {fileID: 65779051553495090}
m_Layer: 0
m_Layer: 9
m_Name: GoalPurple
m_TagString: purpleGoal
m_Icon: {fileID: 0}

- component: {fileID: 1023485123796557062}
- component: {fileID: 8734522883866558980}
- component: {fileID: 6283479335904612434}
- component: {fileID: 8514050053507665853}
m_Layer: 0
m_Name: PurpleStriker (1)
m_TagString: purpleAgent

- wall
- purpleAgent
- blueAgent
m_RaysPerDirection: 5
m_RaysPerDirection: 12
m_MaxRayDegrees: 60
m_SphereCastRadius: 0.5
m_RayLength: 20

m_Name:
m_EditorClassIdentifier:
debugCommandLineOverride:
--- !u!114 &8514050053507665853
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 6257467487437560250}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 6bb6b867a41448888c1cd4f99643ad71, type: 3}
m_Name:
m_EditorClassIdentifier:
m_SensorName: BallRayPerceptionSensor
m_DetectableTags:
- ball
- purpleGoal
- blueGoal
- wall
m_RaysPerDirection: 8
m_MaxRayDegrees: 60
m_SphereCastRadius: 0.5
m_RayLength: 20
m_RayLayerMask:
serializedVersion: 2
m_Bits: 512
m_ObservationStacks: 3
rayHitColor: {r: 1, g: 0, b: 0, a: 1}
rayMissColor: {r: 1, g: 1, b: 1, a: 1}
m_StartVerticalOffset: 0
m_EndVerticalOffset: 0
--- !u!1 &6442519122303792292
GameObject:
m_ObjectHideFlags: 0

- component: {fileID: 2562571719799803906}
- component: {fileID: 1018414316889932458}
- component: {fileID: 6939753220642424022}
- component: {fileID: 5071475723905762410}
m_Layer: 0
m_Name: BlueStriker (1)
m_TagString: blueAgent

- wall
- blueAgent
- purpleAgent
m_RaysPerDirection: 5
m_RaysPerDirection: 12
m_MaxRayDegrees: 60
m_SphereCastRadius: 0.5
m_RayLength: 20

m_Name:
m_EditorClassIdentifier:
debugCommandLineOverride:
--- !u!114 &5071475723905762410
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 8360301818957399454}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 6bb6b867a41448888c1cd4f99643ad71, type: 3}
m_Name:
m_EditorClassIdentifier:
m_SensorName: BallRayPerceptionSensor
m_DetectableTags:
- ball
- blueGoal
- purpleGoal
- wall
m_RaysPerDirection: 8
m_MaxRayDegrees: 60
m_SphereCastRadius: 0.5
m_RayLength: 20
m_RayLayerMask:
serializedVersion: 2
m_Bits: 512
m_ObservationStacks: 3
rayHitColor: {r: 1, g: 0, b: 0, a: 1}
rayMissColor: {r: 1, g: 1, b: 1, a: 1}
m_StartVerticalOffset: 0
m_EndVerticalOffset: 0
--- !u!1 &8673569163220857793
GameObject:
m_ObjectHideFlags: 0

67
Project/Assets/ML-Agents/Examples/Soccer/Scenes/SoccerTwos.unity


m_EnableBakedLightmaps: 1
m_EnableRealtimeLightmaps: 1
m_LightmapEditorSettings:
serializedVersion: 10
serializedVersion: 12
m_Resolution: 2
m_BakeResolution: 40
m_AtlasSize: 1024

m_CompAOExponentDirect: 0
m_ExtractAmbientOcclusion: 0
m_Padding: 2
m_LightmapParameters: {fileID: 0}
m_LightmapsBakeMode: 1

m_PVRDirectSampleCount: 32
m_PVRSampleCount: 500
m_PVRBounces: 2
m_PVREnvironmentSampleCount: 500
m_PVREnvironmentReferencePointCount: 2048
m_PVRFilteringMode: 2
m_PVRDenoiserTypeDirect: 0
m_PVRDenoiserTypeIndirect: 0
m_PVRDenoiserTypeAO: 0
m_PVRFilteringMode: 1
m_PVREnvironmentMIS: 0
m_PVRCulling: 1
m_PVRFilteringGaussRadiusDirect: 1
m_PVRFilteringGaussRadiusIndirect: 5

m_PVRFilteringAtrousPositionSigmaAO: 1
m_ShowResolutionOverlay: 1
m_ExportTrainingData: 0
m_TrainingDataDestination: TrainingData
m_LightingDataAsset: {fileID: 112000002, guid: 03723c7f910c3423aa1974f1b9ce8392,
type: 2}
m_UseShadowmask: 1

m_GameObject: {fileID: 255077123}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 1077351063, guid: f70555f144d8491a825f0804e09c671c, type: 3}
m_Script: {fileID: 11500000, guid: 4f231c4fb786f3946a6b90b886c48677, type: 3}
m_Name:
m_EditorClassIdentifier:
m_HorizontalAxis: Horizontal

m_GameObject: {fileID: 255077123}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: -619905303, guid: f70555f144d8491a825f0804e09c671c, type: 3}
m_Script: {fileID: 11500000, guid: 76c392e42b5098c458856cdf6ecaaaa1, type: 3}
m_Name:
m_EditorClassIdentifier:
m_FirstSelected: {fileID: 0}

propertyPath: m_RootOrder
value: 4
objectReference: {fileID: 0}
- target: {fileID: 54348679551516588, guid: 54f3340298537426e96a6cc530e2d5d8,
type: 3}
propertyPath: m_Constraints
value: 116
objectReference: {fileID: 0}
- target: {fileID: 114734187185382186, guid: 54f3340298537426e96a6cc530e2d5d8,
type: 3}
propertyPath: m_BehaviorType
value: 0
objectReference: {fileID: 0}
- target: {fileID: 54609996481602788, guid: 54f3340298537426e96a6cc530e2d5d8,
type: 3}
propertyPath: m_Constraints
value: 116
objectReference: {fileID: 0}
- target: {fileID: 114387866097048300, guid: 54f3340298537426e96a6cc530e2d5d8,
type: 3}
propertyPath: m_BehaviorType
value: 0
objectReference: {fileID: 0}
- target: {fileID: 1324273637967659108, guid: 54f3340298537426e96a6cc530e2d5d8,
type: 3}
propertyPath: m_Constraints
value: 116
objectReference: {fileID: 0}
- target: {fileID: 8577361778124631730, guid: 54f3340298537426e96a6cc530e2d5d8,
type: 3}
propertyPath: m_BehaviorType
value: 0
objectReference: {fileID: 0}
- target: {fileID: 648637983722350212, guid: 54f3340298537426e96a6cc530e2d5d8,
type: 3}
propertyPath: m_Constraints
value: 116
objectReference: {fileID: 0}
- target: {fileID: 3316085536305919483, guid: 54f3340298537426e96a6cc530e2d5d8,
type: 3}
propertyPath: m_BehaviorType
value: 0
objectReference: {fileID: 0}
m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: 54f3340298537426e96a6cc530e2d5d8, type: 3}
--- !u!1 &1009000883

m_ClearFlags: 2
m_BackGroundColor: {r: 0.46666667, g: 0.5647059, b: 0.60784316, a: 1}
m_projectionMatrixMode: 1
m_GateFitMode: 2
m_FOVAxisMode: 0
m_GateFitMode: 2
m_FocalLength: 50
m_NormalizedViewPortRect:
serializedVersion: 2

m_Name:
m_EditorClassIdentifier:
gravityMultiplier: 1
monitorVerticalOffset: 0
reuseCollisionCallbacks: 1
--- !u!114 &1574236051
MonoBehaviour:
m_ObjectHideFlags: 0

blueMaterial: {fileID: 2100000, guid: c9fa44c2c3f8ce74ca39a3355ea42631, type: 2}
randomizePlayersTeamForTraining: 0
agentRunSpeed: 2
strikerPunish: -0.1
strikerReward: 1
goaliePunish: -1
goalieReward: 0.1
--- !u!1001 &1606160104
PrefabInstance:
m_ObjectHideFlags: 0

正在加载...
取消
保存