hotrod probably broken
This commit is contained in:
@@ -1758,7 +1758,7 @@ Transform:
|
||||
m_GameObject: {fileID: 153506}
|
||||
serializedVersion: 2
|
||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||
m_LocalPosition: {x: -936.6627, y: 0, z: 100.35948}
|
||||
m_LocalPosition: {x: -1034.6165, y: 0, z: 100.35948}
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_ConstrainProportionsScale: 0
|
||||
m_Children:
|
||||
|
||||
@@ -1 +1 @@
|
||||
{"count":1,"self":19.1839984,"total":97.233081,"children":{"InitializeActuators":{"count":12,"self":0.0020014,"total":0.0020014,"children":null},"InitializeSensors":{"count":12,"self":0.0010003,"total":0.0010003,"children":null},"AgentSendState":{"count":25234,"self":1.2734385,"total":2.3455097,"children":{"CollectObservations":{"count":60576,"self":0.17898019999999998,"total":0.17898019999999998,"children":null},"WriteActionMask":{"count":60576,"self":0.036150299999999996,"total":0.036150299999999996,"children":null},"RequestDecision":{"count":60576,"self":0.12476759999999999,"total":0.8569407,"children":{"AgentInfo.ToProto":{"count":60576,"self":0.0960887,"total":0.7321731,"children":{"GenerateSensorData":{"count":60576,"self":0.5059408,"total":0.6360844,"children":{"RayPerceptionSensor.Perceive":{"count":242304,"self":0.1301436,"total":0.1301436,"children":null}}}}}}}}},"DecideAction":{"count":25234,"self":74.4968384,"total":74.4968396,"children":null},"AgentAct":{"count":25234,"self":1.1977194,"total":1.2027324,"children":{"AgentInfo.ToProto":{"count":98,"self":0.001,"total":0.005013,"children":{"GenerateSensorData":{"count":98,"self":0.0025034,"total":0.004013,"children":{"RayPerceptionSensor.Perceive":{"count":392,"self":0.0015095999999999998,"total":0.0015095999999999998,"children":null}}}}}}}},"gauges":{"BensonV7.CumulativeReward":{"count":98,"max":21.4813461,"min":-1.41666389,"runningAverage":17.5915871,"value":20.4321651,"weightedAverage":19.8049469}},"metadata":{"timer_format_version":"0.1.0","start_time_seconds":"1713900700","unity_version":"2022.3.11f1","command_line_arguments":"C:\\Program Files\\Unity\\Hub\\Editor\\2022.3.11f1\\Editor\\Unity.exe -projectpath C:\\Users\\noahk\\Documents\\Unity projects\\Racesm -useHub -hubIPC -cloudEnvironment production -licensingIpc LicenseClient-noahk -hubSessionId 10c7f179-1d05-402f-9893-77ad150eb904 -accessToken crYyr5VN2khiQbeWIZehn__japcfR-PoDiBhVt64xC0005f","communication_protocol_version":"1.5.0","com.unity.ml-agents_version":"2.0.1","scene_name":"AI Training","end_time_seconds":"1713900797"}}
|
||||
{"count":1,"self":5.7472895999999993,"total":5.7593134999999993,"children":{"InitializeActuators":{"count":2,"self":0.0015026999999999998,"total":0.0015026999999999998,"children":null},"InitializeSensors":{"count":2,"self":0.0020005,"total":0.0020005,"children":null},"AgentSendState":{"count":1,"self":0.0040078,"total":0.0075204999999999994,"children":{"CollectObservations":{"count":1,"self":0.0010002,"total":0.0010002,"children":null},"WriteActionMask":{"count":1,"self":0,"total":0,"children":null},"RequestDecision":{"count":1,"self":0.0025125,"total":0.0025125,"children":{"RayPerceptionSensor.Perceive":{"count":4,"self":0,"total":0,"children":null}}}}},"DecideAction":{"count":1,"self":0.0010003,"total":0.0010003,"children":null},"AgentAct":{"count":1,"self":0,"total":0,"children":null}},"gauges":{},"metadata":{"timer_format_version":"0.1.0","start_time_seconds":"1713951389","unity_version":"2022.3.11f1","command_line_arguments":"C:\\Program Files\\Unity\\Hub\\Editor\\2022.3.11f1\\Editor\\Unity.exe -projectpath C:\\Users\\noahk\\Documents\\Unity projects\\Racesm -useHub -hubIPC -cloudEnvironment production -licensingIpc LicenseClient-noahk -hubSessionId 985081e8-b814-4bc7-8736-608aea67ce7e -accessToken fMKSu_LeJtSMMwbIluJ0HvaiatLXHDxWic8X4MA6BEQ005f","communication_protocol_version":"1.5.0","com.unity.ml-agents_version":"2.0.1","scene_name":"AI Training","end_time_seconds":"1713951395"}}
|
||||
@@ -1,5 +1 @@
|
||||
<<<<<<< HEAD
|
||||
{"count":1,"self":16.238459199999998,"total":16.4519137,"children":{"InitializeActuators":{"count":3,"self":0.0015067,"total":0.0015067,"children":null},"InitializeSensors":{"count":3,"self":0.0014154999999999999,"total":0.0014154999999999999,"children":null},"AgentSendState":{"count":515,"self":0.015192299999999999,"total":0.03709,"children":{"CollectObservations":{"count":309,"self":0.0078677,"total":0.0078677,"children":null},"WriteActionMask":{"count":309,"self":0,"total":0,"children":null},"RequestDecision":{"count":309,"self":0.014029999999999999,"total":0.014029999999999999,"children":null}}},"DecideAction":{"count":515,"self":0.1521744,"total":0.1547357,"children":{"RayPerceptionSensor.Perceive":{"count":618,"self":0.0025613,"total":0.0025613,"children":null}}},"AgentAct":{"count":515,"self":0.0176591,"total":0.0176591,"children":null}},"gauges":{},"metadata":{"timer_format_version":"0.1.0","start_time_seconds":"1713946661","unity_version":"2022.3.11f1","command_line_arguments":"C:\\Program Files\\Unity\\Hub\\Editor\\2022.3.11f1\\Editor\\Unity.exe -projectpath C:\\Users\\Magnus\\Desktop\\UnityStuf\\Racesm -useHub -hubIPC -cloudEnvironment production -licensingIpc LicenseClient-Magnus -hubSessionId 8870a2b5-eb85-482c-9f97-a69682ef9b2b -accessToken U1Q6bPAeMgVc12tgfRzGzGVn7bYVzdxATeIOIKVjt3o005f","communication_protocol_version":"1.5.0","com.unity.ml-agents_version":"2.0.1","scene_name":"Racetrack mini","end_time_seconds":"1713946677"}}
|
||||
=======
|
||||
{"count":1,"self":260.8801792,"total":263.71180169999997,"children":{"InitializeActuators":{"count":2,"self":0.0012793,"total":0.0012793,"children":null},"InitializeSensors":{"count":2,"self":0.0020053,"total":0.0020053,"children":null},"AgentSendState":{"count":12917,"self":0.3768938,"total":0.4890713,"children":{"CollectObservations":{"count":5168,"self":0.058553799999999996,"total":0.058553799999999996,"children":null},"WriteActionMask":{"count":5168,"self":0.0059936999999999994,"total":0.0059936999999999994,"children":null},"RequestDecision":{"count":5168,"self":0.0429868,"total":0.04763,"children":{"RayPerceptionSensor.Perceive":{"count":5168,"self":0.0046432,"total":0.0046432,"children":null}}}}},"DecideAction":{"count":12917,"self":2.0233914,"total":2.0547198,"children":{"RayPerceptionSensor.Perceive":{"count":10336,"self":0.0313284,"total":0.0313284,"children":null}}},"AgentAct":{"count":12917,"self":0.2830542,"total":0.2830542,"children":null}},"gauges":{"BensonV7.CumulativeReward":{"count":1,"max":25.1733932,"min":25.1733932,"runningAverage":25.1733932,"value":25.1733932,"weightedAverage":25.1733932}},"metadata":{"timer_format_version":"0.1.0","start_time_seconds":"1713945905","unity_version":"2022.3.11f1","command_line_arguments":"C:\\Program Files\\Unity\\Hub\\Editor\\2022.3.11f1\\Editor\\Unity.exe -projectpath C:\\Users\\noahk\\Documents\\Unity projects\\Racesm -useHub -hubIPC -cloudEnvironment production -licensingIpc LicenseClient-noahk -hubSessionId 985081e8-b814-4bc7-8736-608aea67ce7e -accessToken fMKSu_LeJtSMMwbIluJ0HvaiatLXHDxWic8X4MA6BEQ005f","communication_protocol_version":"1.5.0","com.unity.ml-agents_version":"2.0.1","scene_name":"Racetrack mini","end_time_seconds":"1713946168"}}
|
||||
>>>>>>> 5d9eab1801256febfab096297604d8577dd44a9f
|
||||
{"count":1,"self":57.9450176,"total":58.521113199999995,"children":{"InitializeActuators":{"count":3,"self":0.0010000999999999999,"total":0.0010000999999999999,"children":null},"InitializeSensors":{"count":3,"self":0.0025079,"total":0.0025079,"children":null},"AgentSendState":{"count":2654,"self":0.051927299999999996,"total":0.0821732,"children":{"CollectObservations":{"count":1062,"self":0.0080226,"total":0.0080226,"children":null},"WriteActionMask":{"count":1062,"self":0,"total":0,"children":null},"RequestDecision":{"count":1062,"self":0.0157041,"total":0.022223299999999998,"children":{"RayPerceptionSensor.Perceive":{"count":1062,"self":0.0065191999999999993,"total":0.0065191999999999993,"children":null}}}}},"DecideAction":{"count":2654,"self":0.386222,"total":0.39074369999999997,"children":{"RayPerceptionSensor.Perceive":{"count":2124,"self":0.0045217,"total":0.0045217,"children":null}}},"AgentAct":{"count":2654,"self":0.099673799999999993,"total":0.099673799999999993,"children":{"RayPerceptionSensor.Perceive":{"count":2,"self":0,"total":0,"children":null}}}},"gauges":{"BensonV7.CumulativeReward":{"count":1,"max":-2.16966248,"min":-2.16966248,"runningAverage":-2.16966248,"value":-2.16966248,"weightedAverage":-2.16966248}},"metadata":{"timer_format_version":"0.1.0","start_time_seconds":"1713949644","unity_version":"2022.3.11f1","command_line_arguments":"C:\\Program Files\\Unity\\Hub\\Editor\\2022.3.11f1\\Editor\\Unity.exe -projectpath C:\\Users\\noahk\\Documents\\Unity projects\\Racesm -useHub -hubIPC -cloudEnvironment production -licensingIpc LicenseClient-noahk -hubSessionId 985081e8-b814-4bc7-8736-608aea67ce7e -accessToken fMKSu_LeJtSMMwbIluJ0HvaiatLXHDxWic8X4MA6BEQ005f","communication_protocol_version":"1.5.0","com.unity.ml-agents_version":"2.0.1","scene_name":"Racetrack mini","end_time_seconds":"1713949703"}}
|
||||
@@ -1,547 +0,0 @@
|
||||
%YAML 1.1
|
||||
%TAG !u! tag:unity3d.com,2011:
|
||||
--- !u!1 &3843632275516271687
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 5455179981575153479}
|
||||
- component: {fileID: 6114465352055734943}
|
||||
m_Layer: 0
|
||||
m_Name: RaysBackward
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!4 &5455179981575153479
|
||||
Transform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 3843632275516271687}
|
||||
serializedVersion: 2
|
||||
m_LocalRotation: {x: 0, y: 1, z: 0, w: 0}
|
||||
m_LocalPosition: {x: 0, y: 0, z: 0}
|
||||
m_LocalScale: {x: 4, y: 4, z: 4}
|
||||
m_ConstrainProportionsScale: 0
|
||||
m_Children: []
|
||||
m_Father: {fileID: 6760919851603153930}
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 180, z: 0}
|
||||
--- !u!114 &6114465352055734943
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 3843632275516271687}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 6bb6b867a41448888c1cd4f99643ad71, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
m_SensorName: RaysBackward
|
||||
m_DetectableTags:
|
||||
- Wall
|
||||
- Player
|
||||
m_RaysPerDirection: 1
|
||||
m_MaxRayDegrees: 30
|
||||
m_SphereCastRadius: 0
|
||||
m_RayLength: 10
|
||||
m_RayLayerMask:
|
||||
serializedVersion: 2
|
||||
m_Bits: 4294967291
|
||||
m_ObservationStacks: 1
|
||||
rayHitColor: {r: 1, g: 0, b: 0, a: 1}
|
||||
rayMissColor: {r: 1, g: 1, b: 1, a: 1}
|
||||
m_StartVerticalOffset: 0.2
|
||||
m_EndVerticalOffset: 0.2
|
||||
--- !u!1 &4391308273693418825
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 5865153611370973620}
|
||||
- component: {fileID: 4784121479132063883}
|
||||
m_Layer: 0
|
||||
m_Name: RaysForward
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!4 &5865153611370973620
|
||||
Transform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 4391308273693418825}
|
||||
serializedVersion: 2
|
||||
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
|
||||
m_LocalPosition: {x: 0, y: 0, z: 0}
|
||||
m_LocalScale: {x: 4, y: 4, z: 4}
|
||||
m_ConstrainProportionsScale: 0
|
||||
m_Children: []
|
||||
m_Father: {fileID: 6760919851603153930}
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
--- !u!114 &4784121479132063883
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 4391308273693418825}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 6bb6b867a41448888c1cd4f99643ad71, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
m_SensorName: RaysForward
|
||||
m_DetectableTags:
|
||||
- Wall
|
||||
- Player
|
||||
m_RaysPerDirection: 1
|
||||
m_MaxRayDegrees: 30
|
||||
m_SphereCastRadius: 0
|
||||
m_RayLength: 10
|
||||
m_RayLayerMask:
|
||||
serializedVersion: 2
|
||||
m_Bits: 4294967291
|
||||
m_ObservationStacks: 1
|
||||
rayHitColor: {r: 1, g: 0, b: 0, a: 1}
|
||||
rayMissColor: {r: 1, g: 1, b: 1, a: 1}
|
||||
m_StartVerticalOffset: 0.2
|
||||
m_EndVerticalOffset: 0.2
|
||||
--- !u!1 &4483911455048140180
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 628908058520182320}
|
||||
- component: {fileID: 9133359642551636957}
|
||||
m_Layer: 0
|
||||
m_Name: RayLeft
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!4 &628908058520182320
|
||||
Transform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 4483911455048140180}
|
||||
serializedVersion: 2
|
||||
m_LocalRotation: {x: 0, y: -0.7071068, z: 0, w: 0.7071068}
|
||||
m_LocalPosition: {x: 0, y: 0, z: 0}
|
||||
m_LocalScale: {x: 4, y: 4, z: 4}
|
||||
m_ConstrainProportionsScale: 0
|
||||
m_Children: []
|
||||
m_Father: {fileID: 6760919851603153930}
|
||||
m_LocalEulerAnglesHint: {x: 0, y: -90, z: 0}
|
||||
--- !u!114 &9133359642551636957
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 4483911455048140180}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 6bb6b867a41448888c1cd4f99643ad71, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
m_SensorName: RayLeft
|
||||
m_DetectableTags:
|
||||
- Wall
|
||||
- Player
|
||||
m_RaysPerDirection: 0
|
||||
m_MaxRayDegrees: 30
|
||||
m_SphereCastRadius: 0
|
||||
m_RayLength: 10
|
||||
m_RayLayerMask:
|
||||
serializedVersion: 2
|
||||
m_Bits: 4294967291
|
||||
m_ObservationStacks: 1
|
||||
rayHitColor: {r: 1, g: 0, b: 0, a: 1}
|
||||
rayMissColor: {r: 1, g: 1, b: 1, a: 1}
|
||||
m_StartVerticalOffset: 0.2
|
||||
m_EndVerticalOffset: 0.2
|
||||
--- !u!1 &7703281416423009894
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 7896496936449534647}
|
||||
- component: {fileID: 384204452570892539}
|
||||
m_Layer: 0
|
||||
m_Name: RayRight
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!4 &7896496936449534647
|
||||
Transform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 7703281416423009894}
|
||||
serializedVersion: 2
|
||||
m_LocalRotation: {x: 0, y: 0.7071068, z: 0, w: 0.7071068}
|
||||
m_LocalPosition: {x: 0, y: 0, z: 0}
|
||||
m_LocalScale: {x: 4, y: 4, z: 4}
|
||||
m_ConstrainProportionsScale: 0
|
||||
m_Children: []
|
||||
m_Father: {fileID: 6760919851603153930}
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 90, z: 0}
|
||||
--- !u!114 &384204452570892539
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 7703281416423009894}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 6bb6b867a41448888c1cd4f99643ad71, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
m_SensorName: RayRight
|
||||
m_DetectableTags:
|
||||
- Wall
|
||||
- Player
|
||||
m_RaysPerDirection: 0
|
||||
m_MaxRayDegrees: 30
|
||||
m_SphereCastRadius: 0
|
||||
m_RayLength: 10
|
||||
m_RayLayerMask:
|
||||
serializedVersion: 2
|
||||
m_Bits: 4294967291
|
||||
m_ObservationStacks: 1
|
||||
rayHitColor: {r: 1, g: 0, b: 0, a: 1}
|
||||
rayMissColor: {r: 1, g: 1, b: 1, a: 1}
|
||||
m_StartVerticalOffset: 0.2
|
||||
m_EndVerticalOffset: 0.2
|
||||
--- !u!1001 &1651115584491828307
|
||||
PrefabInstance:
|
||||
m_ObjectHideFlags: 0
|
||||
serializedVersion: 2
|
||||
m_Modification:
|
||||
serializedVersion: 3
|
||||
m_TransformParent: {fileID: 0}
|
||||
m_Modifications:
|
||||
- target: {fileID: 3239213433477781764, guid: 5851f609a58dc884a99030da0105c6db, type: 3}
|
||||
propertyPath: m_CenterOfMass.y
|
||||
value: 0.05
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 5420764024659664985, guid: 5851f609a58dc884a99030da0105c6db, type: 3}
|
||||
propertyPath: m_LocalScale.x
|
||||
value: 0.25
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 5420764024659664985, guid: 5851f609a58dc884a99030da0105c6db, type: 3}
|
||||
propertyPath: m_LocalScale.y
|
||||
value: 0.25
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 5420764024659664985, guid: 5851f609a58dc884a99030da0105c6db, type: 3}
|
||||
propertyPath: m_LocalScale.z
|
||||
value: 0.25
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 5420764024659664985, guid: 5851f609a58dc884a99030da0105c6db, type: 3}
|
||||
propertyPath: m_LocalPosition.x
|
||||
value: -2.7
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 5420764024659664985, guid: 5851f609a58dc884a99030da0105c6db, type: 3}
|
||||
propertyPath: m_LocalPosition.y
|
||||
value: 0.20100284
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 5420764024659664985, guid: 5851f609a58dc884a99030da0105c6db, type: 3}
|
||||
propertyPath: m_LocalPosition.z
|
||||
value: -10.3
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 5420764024659664985, guid: 5851f609a58dc884a99030da0105c6db, type: 3}
|
||||
propertyPath: m_LocalRotation.w
|
||||
value: 1
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 5420764024659664985, guid: 5851f609a58dc884a99030da0105c6db, type: 3}
|
||||
propertyPath: m_LocalRotation.x
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 5420764024659664985, guid: 5851f609a58dc884a99030da0105c6db, type: 3}
|
||||
propertyPath: m_LocalRotation.y
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 5420764024659664985, guid: 5851f609a58dc884a99030da0105c6db, type: 3}
|
||||
propertyPath: m_LocalRotation.z
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 5420764024659664985, guid: 5851f609a58dc884a99030da0105c6db, type: 3}
|
||||
propertyPath: m_LocalEulerAnglesHint.x
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 5420764024659664985, guid: 5851f609a58dc884a99030da0105c6db, type: 3}
|
||||
propertyPath: m_LocalEulerAnglesHint.y
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 5420764024659664985, guid: 5851f609a58dc884a99030da0105c6db, type: 3}
|
||||
propertyPath: m_LocalEulerAnglesHint.z
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 5711380006811689493, guid: 5851f609a58dc884a99030da0105c6db, type: 3}
|
||||
propertyPath: m_Name
|
||||
value: Hotrod (Benson) Variant
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 7953198523918571078, guid: 5851f609a58dc884a99030da0105c6db, type: 3}
|
||||
propertyPath: m_LocalScale.x
|
||||
value: 1
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 7953198523918571078, guid: 5851f609a58dc884a99030da0105c6db, type: 3}
|
||||
propertyPath: m_LocalScale.y
|
||||
value: 1
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 7953198523918571078, guid: 5851f609a58dc884a99030da0105c6db, type: 3}
|
||||
propertyPath: m_LocalScale.z
|
||||
value: 1
|
||||
objectReference: {fileID: 0}
|
||||
m_RemovedComponents:
|
||||
- {fileID: 5418785709807611868, guid: 5851f609a58dc884a99030da0105c6db, type: 3}
|
||||
m_RemovedGameObjects:
|
||||
- {fileID: 2478550314568077689, guid: 5851f609a58dc884a99030da0105c6db, type: 3}
|
||||
- {fileID: 5980600979410270282, guid: 5851f609a58dc884a99030da0105c6db, type: 3}
|
||||
m_AddedGameObjects:
|
||||
- targetCorrespondingSourceObject: {fileID: 5420764024659664985, guid: 5851f609a58dc884a99030da0105c6db, type: 3}
|
||||
insertIndex: -1
|
||||
addedObject: {fileID: 5865153611370973620}
|
||||
- targetCorrespondingSourceObject: {fileID: 5420764024659664985, guid: 5851f609a58dc884a99030da0105c6db, type: 3}
|
||||
insertIndex: -1
|
||||
addedObject: {fileID: 5455179981575153479}
|
||||
- targetCorrespondingSourceObject: {fileID: 5420764024659664985, guid: 5851f609a58dc884a99030da0105c6db, type: 3}
|
||||
insertIndex: -1
|
||||
addedObject: {fileID: 7896496936449534647}
|
||||
- targetCorrespondingSourceObject: {fileID: 5420764024659664985, guid: 5851f609a58dc884a99030da0105c6db, type: 3}
|
||||
insertIndex: -1
|
||||
addedObject: {fileID: 628908058520182320}
|
||||
m_AddedComponents:
|
||||
- targetCorrespondingSourceObject: {fileID: 5711380006811689493, guid: 5851f609a58dc884a99030da0105c6db, type: 3}
|
||||
insertIndex: -1
|
||||
addedObject: {fileID: 2517647947713595571}
|
||||
- targetCorrespondingSourceObject: {fileID: 5711380006811689493, guid: 5851f609a58dc884a99030da0105c6db, type: 3}
|
||||
insertIndex: -1
|
||||
addedObject: {fileID: 2267504697065412416}
|
||||
- targetCorrespondingSourceObject: {fileID: 5711380006811689493, guid: 5851f609a58dc884a99030da0105c6db, type: 3}
|
||||
insertIndex: -1
|
||||
addedObject: {fileID: 4221989274307883857}
|
||||
- targetCorrespondingSourceObject: {fileID: 5711380006811689493, guid: 5851f609a58dc884a99030da0105c6db, type: 3}
|
||||
insertIndex: -1
|
||||
addedObject: {fileID: 3410949865351305375}
|
||||
- targetCorrespondingSourceObject: {fileID: 5711380006811689493, guid: 5851f609a58dc884a99030da0105c6db, type: 3}
|
||||
insertIndex: -1
|
||||
addedObject: {fileID: 5400182112440573950}
|
||||
m_SourcePrefab: {fileID: 100100000, guid: 5851f609a58dc884a99030da0105c6db, type: 3}
|
||||
--- !u!1 &338925058756684953 stripped
|
||||
GameObject:
|
||||
m_CorrespondingSourceObject: {fileID: 1323471614491531466, guid: 5851f609a58dc884a99030da0105c6db, type: 3}
|
||||
m_PrefabInstance: {fileID: 1651115584491828307}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
--- !u!1 &3789291682978100519 stripped
|
||||
GameObject:
|
||||
m_CorrespondingSourceObject: {fileID: 2485903799768531316, guid: 5851f609a58dc884a99030da0105c6db, type: 3}
|
||||
m_PrefabInstance: {fileID: 1651115584491828307}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
--- !u!1 &4903447502535128382 stripped
|
||||
GameObject:
|
||||
m_CorrespondingSourceObject: {fileID: 5973316160603472237, guid: 5851f609a58dc884a99030da0105c6db, type: 3}
|
||||
m_PrefabInstance: {fileID: 1651115584491828307}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
--- !u!1 &6461281435351799366 stripped
|
||||
GameObject:
|
||||
m_CorrespondingSourceObject: {fileID: 5711380006811689493, guid: 5851f609a58dc884a99030da0105c6db, type: 3}
|
||||
m_PrefabInstance: {fileID: 1651115584491828307}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
--- !u!114 &2517647947713595571
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 6461281435351799366}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 5d1c4e0b1822b495aa52bc52839ecb30, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
m_BrainParameters:
|
||||
VectorObservationSize: 6
|
||||
NumStackedVectorObservations: 1
|
||||
m_ActionSpec:
|
||||
m_NumContinuousActions: 0
|
||||
BranchSizes: 0300000003000000
|
||||
VectorActionSize: 0300000003000000
|
||||
VectorActionDescriptions: []
|
||||
VectorActionSpaceType: 0
|
||||
hasUpgradedBrainParametersWithActionSpec: 1
|
||||
m_Model: {fileID: 5022602860645237092, guid: 32480f119eb42a149a893e96102e1fed, type: 3}
|
||||
m_InferenceDevice: 0
|
||||
m_BehaviorType: 2
|
||||
m_BehaviorName: BensonV7
|
||||
TeamId: 0
|
||||
m_UseChildSensors: 1
|
||||
m_UseChildActuators: 1
|
||||
m_ObservableAttributeHandling: 0
|
||||
--- !u!114 &2267504697065412416
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 6461281435351799366}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 2eeab89a9b8a5f04291ce55ceb722904, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
agentParameters:
|
||||
maxStep: 0
|
||||
hasUpgradedFromAgentParameters: 1
|
||||
MaxStep: 0
|
||||
motorTorque: 500
|
||||
brakeTorque: 500
|
||||
maxSpeed: 100
|
||||
steeringRange: 9
|
||||
steeringRangeAtMaxSpeed: 7
|
||||
autoBrake: 100
|
||||
checkpoints:
|
||||
- {fileID: 0}
|
||||
- {fileID: 0}
|
||||
- {fileID: 0}
|
||||
- {fileID: 0}
|
||||
- {fileID: 0}
|
||||
- {fileID: 0}
|
||||
- {fileID: 0}
|
||||
- {fileID: 0}
|
||||
- {fileID: 0}
|
||||
- {fileID: 0}
|
||||
- {fileID: 0}
|
||||
- {fileID: 0}
|
||||
- {fileID: 0}
|
||||
- {fileID: 0}
|
||||
- {fileID: 0}
|
||||
- {fileID: 0}
|
||||
- {fileID: 0}
|
||||
- {fileID: 0}
|
||||
checkpointsCollected: 0
|
||||
maxStepsPerCheckpoint: 2000
|
||||
distanceBetweenCheckpoints: 20
|
||||
ignoreMentalPain: 1
|
||||
isPlaying: 1
|
||||
isFinished: 0
|
||||
--- !u!114 &4221989274307883857
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 6461281435351799366}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 3a5c9d521e5ef4759a8246a07d52221e, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
DecisionPeriod: 5
|
||||
TakeActionsBetweenDecisions: 1
|
||||
--- !u!114 &3410949865351305375
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 6461281435351799366}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 0ee5992a8d68a894cba0612b0c18c3db, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
materialParts:
|
||||
- {fileID: 9164923332460523504}
|
||||
- {fileID: 338925058756684953}
|
||||
- {fileID: 3789291682978100519}
|
||||
- {fileID: 7375905366353851955}
|
||||
- {fileID: 4903447502535128382}
|
||||
defaultColors:
|
||||
- {fileID: 2100000, guid: aa4a216a2af73e349a061c3b08f04fca, type: 2}
|
||||
- {fileID: 2100000, guid: 860d6251349fddd48b946fcba9793104, type: 2}
|
||||
- {fileID: 2100000, guid: 860d6251349fddd48b946fcba9793104, type: 2}
|
||||
- {fileID: 2100000, guid: 860d6251349fddd48b946fcba9793104, type: 2}
|
||||
- {fileID: 2100000, guid: 860d6251349fddd48b946fcba9793104, type: 2}
|
||||
--- !u!114 &5400182112440573950
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 6461281435351799366}
|
||||
m_Enabled: 0
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 58d3a2623a4164b4bb25683edc176b03, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
motorTorque: 300
|
||||
brakeTorque: 500
|
||||
maxSpeed: 400
|
||||
steeringRange: 9
|
||||
steeringRangeAtMaxSpeed: 7
|
||||
autoBrake: 100
|
||||
audio: {fileID: 0}
|
||||
rigidBody: {fileID: 0}
|
||||
checkpointsCollected: 0
|
||||
checkpoints:
|
||||
- {fileID: 0}
|
||||
- {fileID: 0}
|
||||
- {fileID: 0}
|
||||
- {fileID: 0}
|
||||
- {fileID: 0}
|
||||
- {fileID: 0}
|
||||
- {fileID: 0}
|
||||
- {fileID: 0}
|
||||
- {fileID: 0}
|
||||
- {fileID: 0}
|
||||
- {fileID: 0}
|
||||
- {fileID: 0}
|
||||
- {fileID: 0}
|
||||
- {fileID: 0}
|
||||
- {fileID: 0}
|
||||
- {fileID: 0}
|
||||
- {fileID: 0}
|
||||
- {fileID: 0}
|
||||
--- !u!4 &6760919851603153930 stripped
|
||||
Transform:
|
||||
m_CorrespondingSourceObject: {fileID: 5420764024659664985, guid: 5851f609a58dc884a99030da0105c6db, type: 3}
|
||||
m_PrefabInstance: {fileID: 1651115584491828307}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
--- !u!1 &7375905366353851955 stripped
|
||||
GameObject:
|
||||
m_CorrespondingSourceObject: {fileID: 8121549483450565216, guid: 5851f609a58dc884a99030da0105c6db, type: 3}
|
||||
m_PrefabInstance: {fileID: 1651115584491828307}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
--- !u!1 &9164923332460523504 stripped
|
||||
GameObject:
|
||||
m_CorrespondingSourceObject: {fileID: 7627314183742200739, guid: 5851f609a58dc884a99030da0105c6db, type: 3}
|
||||
m_PrefabInstance: {fileID: 1651115584491828307}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
133114
Assets/Prefabs/Training Areas/TrainingV5.prefab
Normal file
133114
Assets/Prefabs/Training Areas/TrainingV5.prefab
Normal file
File diff suppressed because it is too large
Load Diff
@@ -1,5 +1,5 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 1debb6b1b9a0b9d4ea4191642f19fe15
|
||||
guid: 910169ba0d22b974c9f63e7ca615ba95
|
||||
PrefabImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
File diff suppressed because it is too large
Load Diff
@@ -27134,7 +27134,7 @@ PrefabInstance:
|
||||
objectReference: {fileID: 454865285}
|
||||
- target: {fileID: 4615150776958234185, guid: dc3e6243ce610df4c845a9fa5df754a7, type: 3}
|
||||
propertyPath: Cars.Array.size
|
||||
value: 2
|
||||
value: 3
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 4615150776958234185, guid: dc3e6243ce610df4c845a9fa5df754a7, type: 3}
|
||||
propertyPath: Cars.Array.data[0]
|
||||
@@ -27154,7 +27154,7 @@ PrefabInstance:
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 5365138393421743302, guid: dc3e6243ce610df4c845a9fa5df754a7, type: 3}
|
||||
propertyPath: players.Array.size
|
||||
value: 2
|
||||
value: 3
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 5365138393421743302, guid: dc3e6243ce610df4c845a9fa5df754a7, type: 3}
|
||||
propertyPath: players.Array.data[0]
|
||||
|
||||
@@ -47,8 +47,8 @@ public class AgentController: Agent
|
||||
// Find all child GameObjects that have the WheelControl script attached
|
||||
wheels = GetComponentsInChildren<WheelControl>();
|
||||
|
||||
startPosition = transform.localPosition;
|
||||
startRotation = transform.localRotation;
|
||||
startPosition = transform.position;
|
||||
startRotation = transform.rotation;
|
||||
|
||||
}
|
||||
|
||||
@@ -76,21 +76,20 @@ public class AgentController: Agent
|
||||
|
||||
|
||||
// reset car
|
||||
transform.localPosition = startPosition;
|
||||
transform.localRotation = startRotation;
|
||||
transform.position = startPosition;
|
||||
transform.rotation = startRotation;
|
||||
rb.velocity = Vector3.zero;
|
||||
rb.angularVelocity = Vector3.zero;
|
||||
|
||||
//randomize car position
|
||||
// //randomize car position
|
||||
|
||||
float rng = UnityEngine.Random.Range(-3f, 3f);
|
||||
// int rng = UnityEngine.Random.(-3, 3);
|
||||
// float rng = UnityEngine.Random.Range(-3f, 3f);
|
||||
|
||||
transform.localPosition = new Vector3(
|
||||
transform.localPosition.x,
|
||||
transform.localPosition.y,
|
||||
transform.localPosition.z + rng
|
||||
);
|
||||
// transform.position = new Vector3(
|
||||
// transform.position.x,
|
||||
// transform.position.y,
|
||||
// transform.position.z + rng
|
||||
// );
|
||||
|
||||
|
||||
|
||||
@@ -114,8 +113,8 @@ public class AgentController: Agent
|
||||
sensor.AddObservation(angleToCheckpoint(currentCheckpoint));
|
||||
|
||||
// relative vector pointing to checkpoint
|
||||
Vector3 position = transform.localPosition;
|
||||
Vector3 checkpointPosition = currentCheckpoint.localPosition;
|
||||
Vector3 position = transform.position;
|
||||
Vector3 checkpointPosition = currentCheckpoint.position;
|
||||
|
||||
Vector3 toCheckpoint = new Vector3(
|
||||
checkpointPosition.x - position.x,
|
||||
@@ -123,7 +122,7 @@ public class AgentController: Agent
|
||||
checkpointPosition.z - position.z
|
||||
);
|
||||
|
||||
float carAngle = transform.localEulerAngles.y;
|
||||
float carAngle = transform.eulerAngles.y;
|
||||
|
||||
toCheckpoint = Quaternion.Euler(0, -carAngle, 0) * toCheckpoint.normalized;
|
||||
|
||||
@@ -353,7 +352,7 @@ public class AgentController: Agent
|
||||
|
||||
float angleToCheckpoint(Transform checkpoint)
|
||||
{
|
||||
Vector3 checkpointDirection = checkpoint.localPosition - transform.localPosition;
|
||||
Vector3 checkpointDirection = checkpoint.position - transform.position;
|
||||
|
||||
float angle = Vector3.SignedAngle(transform.forward, checkpointDirection, Vector3.up);
|
||||
return angle;
|
||||
|
||||
@@ -22,7 +22,7 @@ public class CarLoader : MonoBehaviour
|
||||
}
|
||||
catch (System.Exception)
|
||||
{
|
||||
carType = "Racecar";
|
||||
carType = "Bulldozer";
|
||||
carColor = "Default";
|
||||
print("no loading");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user