diff --git a/Assets/Imported Assets/PolygonCity/Prefabs/Characters/Character_BusinessMan_Shirt_01.prefab b/Assets/Imported Assets/PolygonCity/Prefabs/Characters/Character_BusinessMan_Shirt_01.prefab index 3789c20..894e798 100644 --- a/Assets/Imported Assets/PolygonCity/Prefabs/Characters/Character_BusinessMan_Shirt_01.prefab +++ b/Assets/Imported Assets/PolygonCity/Prefabs/Characters/Character_BusinessMan_Shirt_01.prefab @@ -1758,7 +1758,7 @@ Transform: m_GameObject: {fileID: 153506} serializedVersion: 2 m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: -926.3537, y: 0, z: 100.35948} + m_LocalPosition: {x: -1439.9213, y: 0, z: 100.35948} m_LocalScale: {x: 1, y: 1, z: 1} m_ConstrainProportionsScale: 0 m_Children: diff --git a/Assets/ML-Agents/Timers/Car Customization_timers.json b/Assets/ML-Agents/Timers/Car Customization_timers.json index b8e816d..16ccc8f 100644 --- a/Assets/ML-Agents/Timers/Car Customization_timers.json +++ b/Assets/ML-Agents/Timers/Car Customization_timers.json @@ -1,9 +1 @@ -<<<<<<< HEAD -<<<<<<< HEAD -{"count":1,"self":9.7942816,"total":9.9178692,"children":{"InitializeActuators":{"count":3,"self":0.0020459,"total":0.0020459,"children":null},"InitializeSensors":{"count":3,"self":0.0030012,"total":0.0030012,"children":null},"AgentSendState":{"count":1,"self":0.0055818,"total":0.0235843,"children":{"CollectObservations":{"count":3,"self":0.0020201,"total":0.0020201,"children":null},"WriteActionMask":{"count":3,"self":0,"total":0,"children":null},"RequestDecision":{"count":3,"self":0.0159824,"total":0.0159824,"children":null}}},"DecideAction":{"count":1,"self":0.091910999999999993,"total":0.09295479999999999,"children":{"RayPerceptionSensor.Perceive":{"count":6,"self":0.0010438,"total":0.0010438,"children":null}}},"AgentAct":{"count":1,"self":0.0020017,"total":0.0020017,"children":null}},"gauges":{},"metadata":{"timer_format_version":"0.1.0","start_time_seconds":"1713939645","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":"Car Customization","end_time_seconds":"1713939655"}} -======= -{"count":1,"self":107.2838656,"total":107.4925277,"children":{"InitializeActuators":{"count":3,"self":0.0009975,"total":0.0009975,"children":null},"InitializeSensors":{"count":3,"self":0.0025054,"total":0.0025054,"children":null},"AgentSendState":{"count":456,"self":0.011536999999999999,"total":0.026688,"children":{"CollectObservations":{"count":276,"self":0.0020269,"total":0.0020269,"children":null},"WriteActionMask":{"count":276,"self":0,"total":0,"children":null},"RequestDecision":{"count":276,"self":0.0131241,"total":0.0131241,"children":null}}},"DecideAction":{"count":456,"self":0.1577449,"total":0.1597336,"children":{"RayPerceptionSensor.Perceive":{"count":552,"self":0.0019887,"total":0.0019887,"children":null}}},"AgentAct":{"count":456,"self":0.018735099999999998,"total":0.018735099999999998,"children":null}},"gauges":{},"metadata":{"timer_format_version":"0.1.0","start_time_seconds":"1713938404","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":"Car Customization","end_time_seconds":"1713938511"}} ->>>>>>> e5ca63e64be4e6649cff2239dddc8b93f8132a10 -======= -{"count":1,"self":107.2838656,"total":107.4925277,"children":{"InitializeActuators":{"count":3,"self":0.0009975,"total":0.0009975,"children":null},"InitializeSensors":{"count":3,"self":0.0025054,"total":0.0025054,"children":null},"AgentSendState":{"count":456,"self":0.011536999999999999,"total":0.026688,"children":{"CollectObservations":{"count":276,"self":0.0020269,"total":0.0020269,"children":null},"WriteActionMask":{"count":276,"self":0,"total":0,"children":null},"RequestDecision":{"count":276,"self":0.0131241,"total":0.0131241,"children":null}}},"DecideAction":{"count":456,"self":0.1577449,"total":0.1597336,"children":{"RayPerceptionSensor.Perceive":{"count":552,"self":0.0019887,"total":0.0019887,"children":null}}},"AgentAct":{"count":456,"self":0.018735099999999998,"total":0.018735099999999998,"children":null}},"gauges":{},"metadata":{"timer_format_version":"0.1.0","start_time_seconds":"1713938404","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":"Car Customization","end_time_seconds":"1713938511"}} ->>>>>>> 6da99da8c2f8207a43f20c59211df05003d51cb1 +{"count":1,"self":86.7022016,"total":87.2017959,"children":{"InitializeActuators":{"count":2,"self":0.0020012999999999997,"total":0.0020012999999999997,"children":null},"InitializeSensors":{"count":2,"self":0.0025069999999999997,"total":0.0025069999999999997,"children":null},"AgentSendState":{"count":2392,"self":0.0591224,"total":0.07723809999999999,"children":{"CollectObservations":{"count":958,"self":0.0045191,"total":0.0045191,"children":null},"WriteActionMask":{"count":958,"self":0.0005076,"total":0.0005076,"children":null},"RequestDecision":{"count":958,"self":0.0095655,"total":0.013089,"children":{"RayPerceptionSensor.Perceive":{"count":958,"self":0.0035234999999999997,"total":0.0035234999999999997,"children":null}}}}},"DecideAction":{"count":2392,"self":0.35492989999999996,"total":0.3589999,"children":{"RayPerceptionSensor.Perceive":{"count":1916,"self":0.00407,"total":0.00407,"children":null}}},"AgentAct":{"count":2392,"self":0.0588493,"total":0.0588493,"children":null}},"gauges":{},"metadata":{"timer_format_version":"0.1.0","start_time_seconds":"1713942564","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":"Car Customization","end_time_seconds":"1713942651"}} \ No newline at end of file diff --git a/Assets/ML-Agents/Timers/Racetrack mini_timers.json b/Assets/ML-Agents/Timers/Racetrack mini_timers.json index cf56280..2c53a6e 100644 --- a/Assets/ML-Agents/Timers/Racetrack mini_timers.json +++ b/Assets/ML-Agents/Timers/Racetrack mini_timers.json @@ -1,9 +1 @@ -<<<<<<< HEAD -<<<<<<< HEAD -{"count":1,"self":159.4891264,"total":161.4726944,"children":{"InitializeActuators":{"count":3,"self":0.0017177,"total":0.0017177,"children":null},"InitializeSensors":{"count":3,"self":0.0035045999999999996,"total":0.0035045999999999996,"children":null},"AgentSendState":{"count":7823,"self":0.21347139999999998,"total":0.3103626,"children":{"CollectObservations":{"count":4695,"self":0.0624739,"total":0.0624739,"children":null},"WriteActionMask":{"count":4695,"self":0.0065712999999999995,"total":0.0065712999999999995,"children":null},"RequestDecision":{"count":4695,"self":0.027846,"total":0.027846,"children":null}}},"DecideAction":{"count":7823,"self":1.3662385,"total":1.3839671,"children":{"RayPerceptionSensor.Perceive":{"count":9390,"self":0.0177286,"total":0.0177286,"children":null}}},"AgentAct":{"count":7823,"self":0.28402109999999997,"total":0.28402109999999997,"children":null}},"gauges":{"BensonV6.1.CumulativeReward":{"count":14,"max":-0.163073957,"min":-0.244621739,"runningAverage":-0.203467548,"value":-0.166420355,"weightedAverage":-0.199763283}},"metadata":{"timer_format_version":"0.1.0","start_time_seconds":"1713940415","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":"1713940577"}} -======= -{"count":1,"self":13.0702272,"total":13.2399828,"children":{"InitializeActuators":{"count":2,"self":0.00099739999999999985,"total":0.00099739999999999985,"children":null},"InitializeSensors":{"count":2,"self":0.0015034,"total":0.0015034,"children":null},"AgentSendState":{"count":394,"self":0.0077031999999999995,"total":0.0247832,"children":{"CollectObservations":{"count":158,"self":0.004493,"total":0.004493,"children":null},"WriteActionMask":{"count":158,"self":0,"total":0,"children":null},"RequestDecision":{"count":158,"self":0.012587,"total":0.012587,"children":null}}},"DecideAction":{"count":394,"self":0.1281029,"total":0.1290791,"children":{"RayPerceptionSensor.Perceive":{"count":316,"self":0.0009762,"total":0.0009762,"children":null}}},"AgentAct":{"count":394,"self":0.0108823,"total":0.0108823,"children":null}},"gauges":{},"metadata":{"timer_format_version":"0.1.0","start_time_seconds":"1713938654","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":"1713938667"}} ->>>>>>> e5ca63e64be4e6649cff2239dddc8b93f8132a10 -======= -{"count":1,"self":13.0702272,"total":13.2399828,"children":{"InitializeActuators":{"count":2,"self":0.00099739999999999985,"total":0.00099739999999999985,"children":null},"InitializeSensors":{"count":2,"self":0.0015034,"total":0.0015034,"children":null},"AgentSendState":{"count":394,"self":0.0077031999999999995,"total":0.0247832,"children":{"CollectObservations":{"count":158,"self":0.004493,"total":0.004493,"children":null},"WriteActionMask":{"count":158,"self":0,"total":0,"children":null},"RequestDecision":{"count":158,"self":0.012587,"total":0.012587,"children":null}}},"DecideAction":{"count":394,"self":0.1281029,"total":0.1290791,"children":{"RayPerceptionSensor.Perceive":{"count":316,"self":0.0009762,"total":0.0009762,"children":null}}},"AgentAct":{"count":394,"self":0.0108823,"total":0.0108823,"children":null}},"gauges":{},"metadata":{"timer_format_version":"0.1.0","start_time_seconds":"1713938654","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":"1713938667"}} ->>>>>>> 6da99da8c2f8207a43f20c59211df05003d51cb1 +{"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"}} \ No newline at end of file diff --git a/Assets/Scenes/Racetrack mini.unity b/Assets/Scenes/Racetrack mini.unity index e061bcd..c380e18 100644 --- a/Assets/Scenes/Racetrack mini.unity +++ b/Assets/Scenes/Racetrack mini.unity @@ -1297,11 +1297,6 @@ MonoBehaviour: animator: {fileID: 39081967} npcPrefab: {fileID: 153506, guid: 5e488cfd825ce044395037d93a9d8eb6, type: 3} audio: {fileID: 0} ---- !u!4 &41967446 stripped -Transform: - m_CorrespondingSourceObject: {fileID: 1288577159706020061, guid: a5cc261231f5a6a4c88239b1dab368cb, type: 3} - m_PrefabInstance: {fileID: 1495114367} - m_PrefabAsset: {fileID: 0} --- !u!1001 &51244679 PrefabInstance: m_ObjectHideFlags: 0 @@ -4864,80 +4859,6 @@ MonoBehaviour: animator: {fileID: 357397388} npcPrefab: {fileID: 153506, guid: 5e488cfd825ce044395037d93a9d8eb6, type: 3} audio: {fileID: 0} ---- !u!1001 &363412106 -PrefabInstance: - m_ObjectHideFlags: 0 - serializedVersion: 2 - m_Modification: - serializedVersion: 3 - m_TransformParent: {fileID: 741699578} - m_Modifications: - - target: {fileID: 1288577159706020061, guid: a5cc261231f5a6a4c88239b1dab368cb, type: 3} - propertyPath: m_LocalPosition.x - value: 70 - objectReference: {fileID: 0} - - target: {fileID: 1288577159706020061, guid: a5cc261231f5a6a4c88239b1dab368cb, type: 3} - propertyPath: m_LocalPosition.y - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 1288577159706020061, guid: a5cc261231f5a6a4c88239b1dab368cb, type: 3} - propertyPath: m_LocalPosition.z - value: 15 - objectReference: {fileID: 0} - - target: {fileID: 1288577159706020061, guid: a5cc261231f5a6a4c88239b1dab368cb, type: 3} - propertyPath: m_LocalRotation.w - value: 0.5 - objectReference: {fileID: 0} - - target: {fileID: 1288577159706020061, guid: a5cc261231f5a6a4c88239b1dab368cb, type: 3} - propertyPath: m_LocalRotation.x - value: 0.5 - objectReference: {fileID: 0} - - target: {fileID: 1288577159706020061, guid: a5cc261231f5a6a4c88239b1dab368cb, type: 3} - propertyPath: m_LocalRotation.y - value: 0.5 - objectReference: {fileID: 0} - - target: {fileID: 1288577159706020061, guid: a5cc261231f5a6a4c88239b1dab368cb, type: 3} - propertyPath: m_LocalRotation.z - value: -0.5 - objectReference: {fileID: 0} - - target: {fileID: 1288577159706020061, guid: a5cc261231f5a6a4c88239b1dab368cb, type: 3} - propertyPath: m_LocalEulerAnglesHint.x - value: 90 - objectReference: {fileID: 0} - - target: {fileID: 1288577159706020061, guid: a5cc261231f5a6a4c88239b1dab368cb, type: 3} - propertyPath: m_LocalEulerAnglesHint.y - value: 90 - objectReference: {fileID: 0} - - target: {fileID: 1288577159706020061, guid: a5cc261231f5a6a4c88239b1dab368cb, type: 3} - propertyPath: m_LocalEulerAnglesHint.z - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 3466260334280045808, guid: a5cc261231f5a6a4c88239b1dab368cb, type: 3} - propertyPath: m_IsTrigger - value: 1 - objectReference: {fileID: 0} - - target: {fileID: 5655726606384773670, guid: a5cc261231f5a6a4c88239b1dab368cb, type: 3} - propertyPath: isVisible - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 7234834637752836426, guid: a5cc261231f5a6a4c88239b1dab368cb, type: 3} - propertyPath: m_Name - value: CheckPoint - objectReference: {fileID: 0} - - target: {fileID: 7234834637752836426, guid: a5cc261231f5a6a4c88239b1dab368cb, type: 3} - propertyPath: m_TagString - value: Checkpoint - objectReference: {fileID: 0} - m_RemovedComponents: [] - m_RemovedGameObjects: [] - m_AddedGameObjects: [] - m_AddedComponents: [] - m_SourcePrefab: {fileID: 100100000, guid: a5cc261231f5a6a4c88239b1dab368cb, type: 3} ---- !u!4 &363412107 stripped -Transform: - m_CorrespondingSourceObject: {fileID: 1288577159706020061, guid: a5cc261231f5a6a4c88239b1dab368cb, type: 3} - m_PrefabInstance: {fileID: 363412106} - m_PrefabAsset: {fileID: 0} --- !u!1001 &385547384 PrefabInstance: m_ObjectHideFlags: 0 @@ -6139,7 +6060,7 @@ PrefabInstance: - target: {fileID: 1742803291406415280, guid: 4d2790a368af4c4458fc4dc8130f8b19, type: 3} propertyPath: TargetCar value: - objectReference: {fileID: 788662684} + objectReference: {fileID: 0} - target: {fileID: 1742803291406415280, guid: 4d2790a368af4c4458fc4dc8130f8b19, type: 3} propertyPath: CamerasPreset.Array.data[1].SetPositionSpeed value: 4 @@ -6950,76 +6871,6 @@ MonoBehaviour: animator: {fileID: 503477486} npcPrefab: {fileID: 153506, guid: 5e488cfd825ce044395037d93a9d8eb6, type: 3} audio: {fileID: 0} ---- !u!1001 &539581454 -PrefabInstance: - m_ObjectHideFlags: 0 - serializedVersion: 2 - m_Modification: - serializedVersion: 3 - m_TransformParent: {fileID: 741699578} - m_Modifications: - - target: {fileID: 1288577159706020061, guid: a5cc261231f5a6a4c88239b1dab368cb, type: 3} - propertyPath: m_LocalPosition.x - value: 115 - objectReference: {fileID: 0} - - target: {fileID: 1288577159706020061, guid: a5cc261231f5a6a4c88239b1dab368cb, type: 3} - propertyPath: m_LocalPosition.y - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 1288577159706020061, guid: a5cc261231f5a6a4c88239b1dab368cb, type: 3} - propertyPath: m_LocalPosition.z - value: -59.75 - objectReference: {fileID: 0} - - target: {fileID: 1288577159706020061, guid: a5cc261231f5a6a4c88239b1dab368cb, type: 3} - propertyPath: m_LocalRotation.w - value: 0.5 - objectReference: {fileID: 0} - - target: {fileID: 1288577159706020061, guid: a5cc261231f5a6a4c88239b1dab368cb, type: 3} - propertyPath: m_LocalRotation.x - value: 0.5 - objectReference: {fileID: 0} - - target: {fileID: 1288577159706020061, guid: a5cc261231f5a6a4c88239b1dab368cb, type: 3} - propertyPath: m_LocalRotation.y - value: 0.5 - objectReference: {fileID: 0} - - target: {fileID: 1288577159706020061, guid: a5cc261231f5a6a4c88239b1dab368cb, type: 3} - propertyPath: m_LocalRotation.z - value: -0.5 - objectReference: {fileID: 0} - - target: {fileID: 1288577159706020061, guid: a5cc261231f5a6a4c88239b1dab368cb, type: 3} - propertyPath: m_LocalEulerAnglesHint.x - value: 90 - objectReference: {fileID: 0} - - target: {fileID: 1288577159706020061, guid: a5cc261231f5a6a4c88239b1dab368cb, type: 3} - propertyPath: m_LocalEulerAnglesHint.y - value: 90 - objectReference: {fileID: 0} - - target: {fileID: 1288577159706020061, guid: a5cc261231f5a6a4c88239b1dab368cb, type: 3} - propertyPath: m_LocalEulerAnglesHint.z - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 3466260334280045808, guid: a5cc261231f5a6a4c88239b1dab368cb, type: 3} - propertyPath: m_IsTrigger - value: 1 - objectReference: {fileID: 0} - - target: {fileID: 5655726606384773670, guid: a5cc261231f5a6a4c88239b1dab368cb, type: 3} - propertyPath: isVisible - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 7234834637752836426, guid: a5cc261231f5a6a4c88239b1dab368cb, type: 3} - propertyPath: m_Name - value: CheckPoint (8) - objectReference: {fileID: 0} - m_RemovedComponents: [] - m_RemovedGameObjects: [] - m_AddedGameObjects: [] - m_AddedComponents: [] - m_SourcePrefab: {fileID: 100100000, guid: a5cc261231f5a6a4c88239b1dab368cb, type: 3} ---- !u!4 &539581455 stripped -Transform: - m_CorrespondingSourceObject: {fileID: 1288577159706020061, guid: a5cc261231f5a6a4c88239b1dab368cb, type: 3} - m_PrefabInstance: {fileID: 539581454} - m_PrefabAsset: {fileID: 0} --- !u!1001 &546157693 PrefabInstance: m_ObjectHideFlags: 0 @@ -9336,51 +9187,6 @@ MonoBehaviour: animator: {fileID: 714978662} npcPrefab: {fileID: 153506, guid: 5e488cfd825ce044395037d93a9d8eb6, type: 3} audio: {fileID: 0} ---- !u!1 &741699577 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 741699578} - m_Layer: 2 - m_Name: Checkpoints - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 0 ---- !u!4 &741699578 -Transform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 741699577} - serializedVersion: 2 - m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: - - {fileID: 363412107} - - {fileID: 748442467} - - {fileID: 1625559266} - - {fileID: 993018533} - - {fileID: 846191461} - - {fileID: 787070681} - - {fileID: 539581455} - - {fileID: 1140675707} - - {fileID: 1632493676} - - {fileID: 898287533} - - {fileID: 1924982538} - - {fileID: 1953001437} - - {fileID: 1551962693} - - {fileID: 41967446} - m_Father: {fileID: 0} - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} --- !u!1001 &742489084 PrefabInstance: m_ObjectHideFlags: 0 @@ -9649,76 +9455,6 @@ MonoBehaviour: animator: {fileID: 747279478} npcPrefab: {fileID: 153506, guid: 5e488cfd825ce044395037d93a9d8eb6, type: 3} audio: {fileID: 0} ---- !u!1001 &748442466 -PrefabInstance: - m_ObjectHideFlags: 0 - serializedVersion: 2 - m_Modification: - serializedVersion: 3 - m_TransformParent: {fileID: 741699578} - m_Modifications: - - target: {fileID: 1288577159706020061, guid: a5cc261231f5a6a4c88239b1dab368cb, type: 3} - propertyPath: m_LocalPosition.x - value: 90 - objectReference: {fileID: 0} - - target: {fileID: 1288577159706020061, guid: a5cc261231f5a6a4c88239b1dab368cb, type: 3} - propertyPath: m_LocalPosition.y - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 1288577159706020061, guid: a5cc261231f5a6a4c88239b1dab368cb, type: 3} - propertyPath: m_LocalPosition.z - value: 15 - objectReference: {fileID: 0} - - target: {fileID: 1288577159706020061, guid: a5cc261231f5a6a4c88239b1dab368cb, type: 3} - propertyPath: m_LocalRotation.w - value: 0.5 - objectReference: {fileID: 0} - - target: {fileID: 1288577159706020061, guid: a5cc261231f5a6a4c88239b1dab368cb, type: 3} - propertyPath: m_LocalRotation.x - value: 0.5 - objectReference: {fileID: 0} - - target: {fileID: 1288577159706020061, guid: a5cc261231f5a6a4c88239b1dab368cb, type: 3} - propertyPath: m_LocalRotation.y - value: 0.5 - objectReference: {fileID: 0} - - target: {fileID: 1288577159706020061, guid: a5cc261231f5a6a4c88239b1dab368cb, type: 3} - propertyPath: m_LocalRotation.z - value: -0.5 - objectReference: {fileID: 0} - - target: {fileID: 1288577159706020061, guid: a5cc261231f5a6a4c88239b1dab368cb, type: 3} - propertyPath: m_LocalEulerAnglesHint.x - value: 90 - objectReference: {fileID: 0} - - target: {fileID: 1288577159706020061, guid: a5cc261231f5a6a4c88239b1dab368cb, type: 3} - propertyPath: m_LocalEulerAnglesHint.y - value: 90 - objectReference: {fileID: 0} - - target: {fileID: 1288577159706020061, guid: a5cc261231f5a6a4c88239b1dab368cb, type: 3} - propertyPath: m_LocalEulerAnglesHint.z - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 3466260334280045808, guid: a5cc261231f5a6a4c88239b1dab368cb, type: 3} - propertyPath: m_IsTrigger - value: 1 - objectReference: {fileID: 0} - - target: {fileID: 5655726606384773670, guid: a5cc261231f5a6a4c88239b1dab368cb, type: 3} - propertyPath: isVisible - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 7234834637752836426, guid: a5cc261231f5a6a4c88239b1dab368cb, type: 3} - propertyPath: m_Name - value: CheckPoint (1) - objectReference: {fileID: 0} - m_RemovedComponents: [] - m_RemovedGameObjects: [] - m_AddedGameObjects: [] - m_AddedComponents: [] - m_SourcePrefab: {fileID: 100100000, guid: a5cc261231f5a6a4c88239b1dab368cb, type: 3} ---- !u!4 &748442467 stripped -Transform: - m_CorrespondingSourceObject: {fileID: 1288577159706020061, guid: a5cc261231f5a6a4c88239b1dab368cb, type: 3} - m_PrefabInstance: {fileID: 748442466} - m_PrefabAsset: {fileID: 0} --- !u!4 &751456478 stripped Transform: m_CorrespondingSourceObject: {fileID: 43625883235569613, guid: 8e14ccd68551a1a4e93b83808515b996, type: 3} @@ -10260,76 +9996,6 @@ MonoBehaviour: animator: {fileID: 782847920} npcPrefab: {fileID: 153506, guid: 5e488cfd825ce044395037d93a9d8eb6, type: 3} audio: {fileID: 0} ---- !u!1001 &787070680 -PrefabInstance: - m_ObjectHideFlags: 0 - serializedVersion: 2 - m_Modification: - serializedVersion: 3 - m_TransformParent: {fileID: 741699578} - m_Modifications: - - target: {fileID: 1288577159706020061, guid: a5cc261231f5a6a4c88239b1dab368cb, type: 3} - propertyPath: m_LocalPosition.x - value: 137 - objectReference: {fileID: 0} - - target: {fileID: 1288577159706020061, guid: a5cc261231f5a6a4c88239b1dab368cb, type: 3} - propertyPath: m_LocalPosition.y - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 1288577159706020061, guid: a5cc261231f5a6a4c88239b1dab368cb, type: 3} - propertyPath: m_LocalPosition.z - value: -59.75 - objectReference: {fileID: 0} - - target: {fileID: 1288577159706020061, guid: a5cc261231f5a6a4c88239b1dab368cb, type: 3} - propertyPath: m_LocalRotation.w - value: 0.5 - objectReference: {fileID: 0} - - target: {fileID: 1288577159706020061, guid: a5cc261231f5a6a4c88239b1dab368cb, type: 3} - propertyPath: m_LocalRotation.x - value: 0.5 - objectReference: {fileID: 0} - - target: {fileID: 1288577159706020061, guid: a5cc261231f5a6a4c88239b1dab368cb, type: 3} - propertyPath: m_LocalRotation.y - value: 0.5 - objectReference: {fileID: 0} - - target: {fileID: 1288577159706020061, guid: a5cc261231f5a6a4c88239b1dab368cb, type: 3} - propertyPath: m_LocalRotation.z - value: -0.5 - objectReference: {fileID: 0} - - target: {fileID: 1288577159706020061, guid: a5cc261231f5a6a4c88239b1dab368cb, type: 3} - propertyPath: m_LocalEulerAnglesHint.x - value: 90 - objectReference: {fileID: 0} - - target: {fileID: 1288577159706020061, guid: a5cc261231f5a6a4c88239b1dab368cb, type: 3} - propertyPath: m_LocalEulerAnglesHint.y - value: 90 - objectReference: {fileID: 0} - - target: {fileID: 1288577159706020061, guid: a5cc261231f5a6a4c88239b1dab368cb, type: 3} - propertyPath: m_LocalEulerAnglesHint.z - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 3466260334280045808, guid: a5cc261231f5a6a4c88239b1dab368cb, type: 3} - propertyPath: m_IsTrigger - value: 1 - objectReference: {fileID: 0} - - target: {fileID: 5655726606384773670, guid: a5cc261231f5a6a4c88239b1dab368cb, type: 3} - propertyPath: isVisible - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 7234834637752836426, guid: a5cc261231f5a6a4c88239b1dab368cb, type: 3} - propertyPath: m_Name - value: CheckPoint (7) - objectReference: {fileID: 0} - m_RemovedComponents: [] - m_RemovedGameObjects: [] - m_AddedGameObjects: [] - m_AddedComponents: [] - m_SourcePrefab: {fileID: 100100000, guid: a5cc261231f5a6a4c88239b1dab368cb, type: 3} ---- !u!4 &787070681 stripped -Transform: - m_CorrespondingSourceObject: {fileID: 1288577159706020061, guid: a5cc261231f5a6a4c88239b1dab368cb, type: 3} - m_PrefabInstance: {fileID: 787070680} - m_PrefabAsset: {fileID: 0} --- !u!1001 &802211941 PrefabInstance: m_ObjectHideFlags: 0 @@ -10737,76 +10403,6 @@ MonoBehaviour: animator: {fileID: 834181295} npcPrefab: {fileID: 153506, guid: 5e488cfd825ce044395037d93a9d8eb6, type: 3} audio: {fileID: 0} ---- !u!1001 &846191460 -PrefabInstance: - m_ObjectHideFlags: 0 - serializedVersion: 2 - m_Modification: - serializedVersion: 3 - m_TransformParent: {fileID: 741699578} - m_Modifications: - - target: {fileID: 1288577159706020061, guid: a5cc261231f5a6a4c88239b1dab368cb, type: 3} - propertyPath: m_LocalPosition.x - value: 147.5 - objectReference: {fileID: 0} - - target: {fileID: 1288577159706020061, guid: a5cc261231f5a6a4c88239b1dab368cb, type: 3} - propertyPath: m_LocalPosition.y - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 1288577159706020061, guid: a5cc261231f5a6a4c88239b1dab368cb, type: 3} - propertyPath: m_LocalPosition.z - value: -24.5 - objectReference: {fileID: 0} - - target: {fileID: 1288577159706020061, guid: a5cc261231f5a6a4c88239b1dab368cb, type: 3} - propertyPath: m_LocalRotation.w - value: 0.27059805 - objectReference: {fileID: 0} - - target: {fileID: 1288577159706020061, guid: a5cc261231f5a6a4c88239b1dab368cb, type: 3} - propertyPath: m_LocalRotation.x - value: 0.27059805 - objectReference: {fileID: 0} - - target: {fileID: 1288577159706020061, guid: a5cc261231f5a6a4c88239b1dab368cb, type: 3} - propertyPath: m_LocalRotation.y - value: 0.6532815 - objectReference: {fileID: 0} - - target: {fileID: 1288577159706020061, guid: a5cc261231f5a6a4c88239b1dab368cb, type: 3} - propertyPath: m_LocalRotation.z - value: -0.6532815 - objectReference: {fileID: 0} - - target: {fileID: 1288577159706020061, guid: a5cc261231f5a6a4c88239b1dab368cb, type: 3} - propertyPath: m_LocalEulerAnglesHint.x - value: 90 - objectReference: {fileID: 0} - - target: {fileID: 1288577159706020061, guid: a5cc261231f5a6a4c88239b1dab368cb, type: 3} - propertyPath: m_LocalEulerAnglesHint.y - value: 135 - objectReference: {fileID: 0} - - target: {fileID: 1288577159706020061, guid: a5cc261231f5a6a4c88239b1dab368cb, type: 3} - propertyPath: m_LocalEulerAnglesHint.z - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 3466260334280045808, guid: a5cc261231f5a6a4c88239b1dab368cb, type: 3} - propertyPath: m_IsTrigger - value: 1 - objectReference: {fileID: 0} - - target: {fileID: 5655726606384773670, guid: a5cc261231f5a6a4c88239b1dab368cb, type: 3} - propertyPath: isVisible - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 7234834637752836426, guid: a5cc261231f5a6a4c88239b1dab368cb, type: 3} - propertyPath: m_Name - value: CheckPoint (5) - objectReference: {fileID: 0} - m_RemovedComponents: [] - m_RemovedGameObjects: [] - m_AddedGameObjects: [] - m_AddedComponents: [] - m_SourcePrefab: {fileID: 100100000, guid: a5cc261231f5a6a4c88239b1dab368cb, type: 3} ---- !u!4 &846191461 stripped -Transform: - m_CorrespondingSourceObject: {fileID: 1288577159706020061, guid: a5cc261231f5a6a4c88239b1dab368cb, type: 3} - m_PrefabInstance: {fileID: 846191460} - m_PrefabAsset: {fileID: 0} --- !u!1001 &852345460 PrefabInstance: m_ObjectHideFlags: 0 @@ -11348,76 +10944,6 @@ MonoBehaviour: animator: {fileID: 886860495} npcPrefab: {fileID: 153506, guid: 5e488cfd825ce044395037d93a9d8eb6, type: 3} audio: {fileID: 0} ---- !u!1001 &898287532 -PrefabInstance: - m_ObjectHideFlags: 0 - serializedVersion: 2 - m_Modification: - serializedVersion: 3 - m_TransformParent: {fileID: 741699578} - m_Modifications: - - target: {fileID: 1288577159706020061, guid: a5cc261231f5a6a4c88239b1dab368cb, type: 3} - propertyPath: m_LocalPosition.x - value: 58.300003 - objectReference: {fileID: 0} - - target: {fileID: 1288577159706020061, guid: a5cc261231f5a6a4c88239b1dab368cb, type: 3} - propertyPath: m_LocalPosition.y - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 1288577159706020061, guid: a5cc261231f5a6a4c88239b1dab368cb, type: 3} - propertyPath: m_LocalPosition.z - value: -22.44 - objectReference: {fileID: 0} - - target: {fileID: 1288577159706020061, guid: a5cc261231f5a6a4c88239b1dab368cb, type: 3} - propertyPath: m_LocalRotation.w - value: 0.5 - objectReference: {fileID: 0} - - target: {fileID: 1288577159706020061, guid: a5cc261231f5a6a4c88239b1dab368cb, type: 3} - propertyPath: m_LocalRotation.x - value: 0.5 - objectReference: {fileID: 0} - - target: {fileID: 1288577159706020061, guid: a5cc261231f5a6a4c88239b1dab368cb, type: 3} - propertyPath: m_LocalRotation.y - value: 0.5 - objectReference: {fileID: 0} - - target: {fileID: 1288577159706020061, guid: a5cc261231f5a6a4c88239b1dab368cb, type: 3} - propertyPath: m_LocalRotation.z - value: -0.5 - objectReference: {fileID: 0} - - target: {fileID: 1288577159706020061, guid: a5cc261231f5a6a4c88239b1dab368cb, type: 3} - propertyPath: m_LocalEulerAnglesHint.x - value: 90 - objectReference: {fileID: 0} - - target: {fileID: 1288577159706020061, guid: a5cc261231f5a6a4c88239b1dab368cb, type: 3} - propertyPath: m_LocalEulerAnglesHint.y - value: 90 - objectReference: {fileID: 0} - - target: {fileID: 1288577159706020061, guid: a5cc261231f5a6a4c88239b1dab368cb, type: 3} - propertyPath: m_LocalEulerAnglesHint.z - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 3466260334280045808, guid: a5cc261231f5a6a4c88239b1dab368cb, type: 3} - propertyPath: m_IsTrigger - value: 1 - objectReference: {fileID: 0} - - target: {fileID: 5655726606384773670, guid: a5cc261231f5a6a4c88239b1dab368cb, type: 3} - propertyPath: isVisible - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 7234834637752836426, guid: a5cc261231f5a6a4c88239b1dab368cb, type: 3} - propertyPath: m_Name - value: CheckPoint (12) - objectReference: {fileID: 0} - m_RemovedComponents: [] - m_RemovedGameObjects: [] - m_AddedGameObjects: [] - m_AddedComponents: [] - m_SourcePrefab: {fileID: 100100000, guid: a5cc261231f5a6a4c88239b1dab368cb, type: 3} ---- !u!4 &898287533 stripped -Transform: - m_CorrespondingSourceObject: {fileID: 1288577159706020061, guid: a5cc261231f5a6a4c88239b1dab368cb, type: 3} - m_PrefabInstance: {fileID: 898287532} - m_PrefabAsset: {fileID: 0} --- !u!1001 &913154280 PrefabInstance: m_ObjectHideFlags: 0 @@ -12917,76 +12443,6 @@ MonoBehaviour: animator: {fileID: 989968250} npcPrefab: {fileID: 153506, guid: 5e488cfd825ce044395037d93a9d8eb6, type: 3} audio: {fileID: 0} ---- !u!1001 &993018532 -PrefabInstance: - m_ObjectHideFlags: 0 - serializedVersion: 2 - m_Modification: - serializedVersion: 3 - m_TransformParent: {fileID: 741699578} - m_Modifications: - - target: {fileID: 1288577159706020061, guid: a5cc261231f5a6a4c88239b1dab368cb, type: 3} - propertyPath: m_LocalPosition.x - value: 112.5 - objectReference: {fileID: 0} - - target: {fileID: 1288577159706020061, guid: a5cc261231f5a6a4c88239b1dab368cb, type: 3} - propertyPath: m_LocalPosition.y - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 1288577159706020061, guid: a5cc261231f5a6a4c88239b1dab368cb, type: 3} - propertyPath: m_LocalPosition.z - value: -10 - objectReference: {fileID: 0} - - target: {fileID: 1288577159706020061, guid: a5cc261231f5a6a4c88239b1dab368cb, type: 3} - propertyPath: m_LocalRotation.w - value: 0.7071068 - objectReference: {fileID: 0} - - target: {fileID: 1288577159706020061, guid: a5cc261231f5a6a4c88239b1dab368cb, type: 3} - propertyPath: m_LocalRotation.x - value: 0.7071068 - objectReference: {fileID: 0} - - target: {fileID: 1288577159706020061, guid: a5cc261231f5a6a4c88239b1dab368cb, type: 3} - propertyPath: m_LocalRotation.y - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 1288577159706020061, guid: a5cc261231f5a6a4c88239b1dab368cb, type: 3} - propertyPath: m_LocalRotation.z - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 1288577159706020061, guid: a5cc261231f5a6a4c88239b1dab368cb, type: 3} - propertyPath: m_LocalEulerAnglesHint.x - value: 90 - objectReference: {fileID: 0} - - target: {fileID: 1288577159706020061, guid: a5cc261231f5a6a4c88239b1dab368cb, type: 3} - propertyPath: m_LocalEulerAnglesHint.y - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 1288577159706020061, guid: a5cc261231f5a6a4c88239b1dab368cb, type: 3} - propertyPath: m_LocalEulerAnglesHint.z - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 3466260334280045808, guid: a5cc261231f5a6a4c88239b1dab368cb, type: 3} - propertyPath: m_IsTrigger - value: 1 - objectReference: {fileID: 0} - - target: {fileID: 5655726606384773670, guid: a5cc261231f5a6a4c88239b1dab368cb, type: 3} - propertyPath: isVisible - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 7234834637752836426, guid: a5cc261231f5a6a4c88239b1dab368cb, type: 3} - propertyPath: m_Name - value: CheckPoint (3) - objectReference: {fileID: 0} - m_RemovedComponents: [] - m_RemovedGameObjects: [] - m_AddedGameObjects: [] - m_AddedComponents: [] - m_SourcePrefab: {fileID: 100100000, guid: a5cc261231f5a6a4c88239b1dab368cb, type: 3} ---- !u!4 &993018533 stripped -Transform: - m_CorrespondingSourceObject: {fileID: 1288577159706020061, guid: a5cc261231f5a6a4c88239b1dab368cb, type: 3} - m_PrefabInstance: {fileID: 993018532} - m_PrefabAsset: {fileID: 0} --- !u!1001 &993427760 PrefabInstance: m_ObjectHideFlags: 0 @@ -13368,6 +12824,18 @@ PrefabInstance: propertyPath: m_Enabled value: 1 objectReference: {fileID: 0} + - target: {fileID: 2012077912245309415, guid: b341ab9d1c90ec94ca57298c7d0a4eeb, type: 3} + propertyPath: m_LocalRotation.y + value: -0.5 + objectReference: {fileID: 0} + - target: {fileID: 2012077912245309415, guid: b341ab9d1c90ec94ca57298c7d0a4eeb, type: 3} + propertyPath: m_LocalRotation.z + value: 0.5 + objectReference: {fileID: 0} + - target: {fileID: 2012077912245309415, guid: b341ab9d1c90ec94ca57298c7d0a4eeb, type: 3} + propertyPath: m_LocalEulerAnglesHint.y + value: -90 + objectReference: {fileID: 0} - target: {fileID: 2065297755357871719, guid: b341ab9d1c90ec94ca57298c7d0a4eeb, type: 3} propertyPath: m_Enabled value: 1 @@ -13384,6 +12852,26 @@ PrefabInstance: propertyPath: m_IsTrigger value: 1 objectReference: {fileID: 0} + - target: {fileID: 2612430100241819277, guid: b341ab9d1c90ec94ca57298c7d0a4eeb, type: 3} + propertyPath: m_LocalRotation.w + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 2612430100241819277, guid: b341ab9d1c90ec94ca57298c7d0a4eeb, type: 3} + propertyPath: m_LocalRotation.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 2612430100241819277, guid: b341ab9d1c90ec94ca57298c7d0a4eeb, type: 3} + propertyPath: m_LocalRotation.y + value: 0.7071068 + objectReference: {fileID: 0} + - target: {fileID: 2612430100241819277, guid: b341ab9d1c90ec94ca57298c7d0a4eeb, type: 3} + propertyPath: m_LocalRotation.z + value: -0.7071068 + objectReference: {fileID: 0} + - target: {fileID: 2612430100241819277, guid: b341ab9d1c90ec94ca57298c7d0a4eeb, type: 3} + propertyPath: m_LocalEulerAnglesHint.y + value: 180 + objectReference: {fileID: 0} - target: {fileID: 2841995830362743840, guid: b341ab9d1c90ec94ca57298c7d0a4eeb, type: 3} propertyPath: isVisible value: 1 @@ -13416,6 +12904,26 @@ PrefabInstance: propertyPath: m_IsTrigger value: 1 objectReference: {fileID: 0} + - target: {fileID: 3792726093754305311, guid: b341ab9d1c90ec94ca57298c7d0a4eeb, type: 3} + propertyPath: m_LocalRotation.w + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3792726093754305311, guid: b341ab9d1c90ec94ca57298c7d0a4eeb, type: 3} + propertyPath: m_LocalRotation.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3792726093754305311, guid: b341ab9d1c90ec94ca57298c7d0a4eeb, type: 3} + propertyPath: m_LocalRotation.y + value: 0.7071068 + objectReference: {fileID: 0} + - target: {fileID: 3792726093754305311, guid: b341ab9d1c90ec94ca57298c7d0a4eeb, type: 3} + propertyPath: m_LocalRotation.z + value: -0.7071068 + objectReference: {fileID: 0} + - target: {fileID: 3792726093754305311, guid: b341ab9d1c90ec94ca57298c7d0a4eeb, type: 3} + propertyPath: m_LocalEulerAnglesHint.y + value: 180 + objectReference: {fileID: 0} - target: {fileID: 3797832664772287022, guid: b341ab9d1c90ec94ca57298c7d0a4eeb, type: 3} propertyPath: m_Name value: Cars @@ -13440,6 +12948,22 @@ PrefabInstance: propertyPath: m_Enabled value: 1 objectReference: {fileID: 0} + - target: {fileID: 4463291330637767098, guid: b341ab9d1c90ec94ca57298c7d0a4eeb, type: 3} + propertyPath: m_Materials.Array.data[0] + value: + objectReference: {fileID: 2100000, guid: a4b9bd889f9c4bd498794c6ffd6f9e44, type: 2} + - target: {fileID: 4508327830348362415, guid: b341ab9d1c90ec94ca57298c7d0a4eeb, type: 3} + propertyPath: m_LocalRotation.y + value: -0.5 + objectReference: {fileID: 0} + - target: {fileID: 4508327830348362415, guid: b341ab9d1c90ec94ca57298c7d0a4eeb, type: 3} + propertyPath: m_LocalRotation.z + value: 0.5 + objectReference: {fileID: 0} + - target: {fileID: 4508327830348362415, guid: b341ab9d1c90ec94ca57298c7d0a4eeb, type: 3} + propertyPath: m_LocalEulerAnglesHint.y + value: -90 + objectReference: {fileID: 0} - target: {fileID: 4599812173407189096, guid: b341ab9d1c90ec94ca57298c7d0a4eeb, type: 3} propertyPath: m_Enabled value: 1 @@ -13452,6 +12976,18 @@ PrefabInstance: propertyPath: m_Enabled value: 1 objectReference: {fileID: 0} + - target: {fileID: 5125429638839018856, guid: b341ab9d1c90ec94ca57298c7d0a4eeb, type: 3} + propertyPath: m_LocalRotation.y + value: -0.5 + objectReference: {fileID: 0} + - target: {fileID: 5125429638839018856, guid: b341ab9d1c90ec94ca57298c7d0a4eeb, type: 3} + propertyPath: m_LocalRotation.z + value: 0.5 + objectReference: {fileID: 0} + - target: {fileID: 5125429638839018856, guid: b341ab9d1c90ec94ca57298c7d0a4eeb, type: 3} + propertyPath: m_LocalEulerAnglesHint.y + value: -90 + objectReference: {fileID: 0} - target: {fileID: 5206757801600008171, guid: b341ab9d1c90ec94ca57298c7d0a4eeb, type: 3} propertyPath: isVisible value: 1 @@ -13544,6 +13080,18 @@ PrefabInstance: propertyPath: m_IsTrigger value: 1 objectReference: {fileID: 0} + - target: {fileID: 6549220065614794096, guid: b341ab9d1c90ec94ca57298c7d0a4eeb, type: 3} + propertyPath: m_LocalRotation.y + value: -0.5 + objectReference: {fileID: 0} + - target: {fileID: 6549220065614794096, guid: b341ab9d1c90ec94ca57298c7d0a4eeb, type: 3} + propertyPath: m_LocalRotation.z + value: 0.5 + objectReference: {fileID: 0} + - target: {fileID: 6549220065614794096, guid: b341ab9d1c90ec94ca57298c7d0a4eeb, type: 3} + propertyPath: m_LocalEulerAnglesHint.y + value: -90 + objectReference: {fileID: 0} - target: {fileID: 6698349112800946072, guid: b341ab9d1c90ec94ca57298c7d0a4eeb, type: 3} propertyPath: m_IsActive value: 1 @@ -13592,6 +13140,26 @@ PrefabInstance: propertyPath: m_IsTrigger value: 1 objectReference: {fileID: 0} + - target: {fileID: 8070560586410969039, guid: b341ab9d1c90ec94ca57298c7d0a4eeb, type: 3} + propertyPath: m_LocalRotation.w + value: 0.6532815 + objectReference: {fileID: 0} + - target: {fileID: 8070560586410969039, guid: b341ab9d1c90ec94ca57298c7d0a4eeb, type: 3} + propertyPath: m_LocalRotation.x + value: 0.6532815 + objectReference: {fileID: 0} + - target: {fileID: 8070560586410969039, guid: b341ab9d1c90ec94ca57298c7d0a4eeb, type: 3} + propertyPath: m_LocalRotation.y + value: -0.27059805 + objectReference: {fileID: 0} + - target: {fileID: 8070560586410969039, guid: b341ab9d1c90ec94ca57298c7d0a4eeb, type: 3} + propertyPath: m_LocalRotation.z + value: 0.27059805 + objectReference: {fileID: 0} + - target: {fileID: 8070560586410969039, guid: b341ab9d1c90ec94ca57298c7d0a4eeb, type: 3} + propertyPath: m_LocalEulerAnglesHint.y + value: -45 + objectReference: {fileID: 0} - target: {fileID: 8330458478811375020, guid: b341ab9d1c90ec94ca57298c7d0a4eeb, type: 3} propertyPath: m_Enabled value: 1 @@ -15343,76 +14911,6 @@ Transform: m_CorrespondingSourceObject: {fileID: 43625883235569613, guid: 8e14ccd68551a1a4e93b83808515b996, type: 3} m_PrefabInstance: {fileID: 1219528446} m_PrefabAsset: {fileID: 0} ---- !u!1001 &1140675706 -PrefabInstance: - m_ObjectHideFlags: 0 - serializedVersion: 2 - m_Modification: - serializedVersion: 3 - m_TransformParent: {fileID: 741699578} - m_Modifications: - - target: {fileID: 1288577159706020061, guid: a5cc261231f5a6a4c88239b1dab368cb, type: 3} - propertyPath: m_LocalPosition.x - value: 95 - objectReference: {fileID: 0} - - target: {fileID: 1288577159706020061, guid: a5cc261231f5a6a4c88239b1dab368cb, type: 3} - propertyPath: m_LocalPosition.y - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 1288577159706020061, guid: a5cc261231f5a6a4c88239b1dab368cb, type: 3} - propertyPath: m_LocalPosition.z - value: -59.75 - objectReference: {fileID: 0} - - target: {fileID: 1288577159706020061, guid: a5cc261231f5a6a4c88239b1dab368cb, type: 3} - propertyPath: m_LocalRotation.w - value: 0.5 - objectReference: {fileID: 0} - - target: {fileID: 1288577159706020061, guid: a5cc261231f5a6a4c88239b1dab368cb, type: 3} - propertyPath: m_LocalRotation.x - value: 0.5 - objectReference: {fileID: 0} - - target: {fileID: 1288577159706020061, guid: a5cc261231f5a6a4c88239b1dab368cb, type: 3} - propertyPath: m_LocalRotation.y - value: 0.5 - objectReference: {fileID: 0} - - target: {fileID: 1288577159706020061, guid: a5cc261231f5a6a4c88239b1dab368cb, type: 3} - propertyPath: m_LocalRotation.z - value: -0.5 - objectReference: {fileID: 0} - - target: {fileID: 1288577159706020061, guid: a5cc261231f5a6a4c88239b1dab368cb, type: 3} - propertyPath: m_LocalEulerAnglesHint.x - value: 90 - objectReference: {fileID: 0} - - target: {fileID: 1288577159706020061, guid: a5cc261231f5a6a4c88239b1dab368cb, type: 3} - propertyPath: m_LocalEulerAnglesHint.y - value: 90 - objectReference: {fileID: 0} - - target: {fileID: 1288577159706020061, guid: a5cc261231f5a6a4c88239b1dab368cb, type: 3} - propertyPath: m_LocalEulerAnglesHint.z - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 3466260334280045808, guid: a5cc261231f5a6a4c88239b1dab368cb, type: 3} - propertyPath: m_IsTrigger - value: 1 - objectReference: {fileID: 0} - - target: {fileID: 5655726606384773670, guid: a5cc261231f5a6a4c88239b1dab368cb, type: 3} - propertyPath: isVisible - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 7234834637752836426, guid: a5cc261231f5a6a4c88239b1dab368cb, type: 3} - propertyPath: m_Name - value: CheckPoint (9) - objectReference: {fileID: 0} - m_RemovedComponents: [] - m_RemovedGameObjects: [] - m_AddedGameObjects: [] - m_AddedComponents: [] - m_SourcePrefab: {fileID: 100100000, guid: a5cc261231f5a6a4c88239b1dab368cb, type: 3} ---- !u!4 &1140675707 stripped -Transform: - m_CorrespondingSourceObject: {fileID: 1288577159706020061, guid: a5cc261231f5a6a4c88239b1dab368cb, type: 3} - m_PrefabInstance: {fileID: 1140675706} - m_PrefabAsset: {fileID: 0} --- !u!4 &1145562278 stripped Transform: m_CorrespondingSourceObject: {fileID: 43625883235569613, guid: 8e14ccd68551a1a4e93b83808515b996, type: 3} @@ -18688,71 +18186,6 @@ MonoBehaviour: animator: {fileID: 1480005367} npcPrefab: {fileID: 153506, guid: 5e488cfd825ce044395037d93a9d8eb6, type: 3} audio: {fileID: 0} ---- !u!1001 &1495114367 -PrefabInstance: - m_ObjectHideFlags: 0 - serializedVersion: 2 - m_Modification: - serializedVersion: 3 - m_TransformParent: {fileID: 741699578} - m_Modifications: - - target: {fileID: 1288577159706020061, guid: a5cc261231f5a6a4c88239b1dab368cb, type: 3} - propertyPath: m_LocalPosition.x - value: 127 - objectReference: {fileID: 0} - - target: {fileID: 1288577159706020061, guid: a5cc261231f5a6a4c88239b1dab368cb, type: 3} - propertyPath: m_LocalPosition.y - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 1288577159706020061, guid: a5cc261231f5a6a4c88239b1dab368cb, type: 3} - propertyPath: m_LocalPosition.z - value: -22.5 - objectReference: {fileID: 0} - - target: {fileID: 1288577159706020061, guid: a5cc261231f5a6a4c88239b1dab368cb, type: 3} - propertyPath: m_LocalRotation.w - value: 0.5 - objectReference: {fileID: 0} - - target: {fileID: 1288577159706020061, guid: a5cc261231f5a6a4c88239b1dab368cb, type: 3} - propertyPath: m_LocalRotation.x - value: 0.5 - objectReference: {fileID: 0} - - target: {fileID: 1288577159706020061, guid: a5cc261231f5a6a4c88239b1dab368cb, type: 3} - propertyPath: m_LocalRotation.y - value: 0.5 - objectReference: {fileID: 0} - - target: {fileID: 1288577159706020061, guid: a5cc261231f5a6a4c88239b1dab368cb, type: 3} - propertyPath: m_LocalRotation.z - value: -0.5 - objectReference: {fileID: 0} - - target: {fileID: 1288577159706020061, guid: a5cc261231f5a6a4c88239b1dab368cb, type: 3} - propertyPath: m_LocalEulerAnglesHint.x - value: 90 - objectReference: {fileID: 0} - - target: {fileID: 1288577159706020061, guid: a5cc261231f5a6a4c88239b1dab368cb, type: 3} - propertyPath: m_LocalEulerAnglesHint.y - value: 90 - objectReference: {fileID: 0} - - target: {fileID: 1288577159706020061, guid: a5cc261231f5a6a4c88239b1dab368cb, type: 3} - propertyPath: m_LocalEulerAnglesHint.z - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 3466260334280045808, guid: a5cc261231f5a6a4c88239b1dab368cb, type: 3} - propertyPath: m_IsTrigger - value: 1 - objectReference: {fileID: 0} - - target: {fileID: 5655726606384773670, guid: a5cc261231f5a6a4c88239b1dab368cb, type: 3} - propertyPath: isVisible - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 7234834637752836426, guid: a5cc261231f5a6a4c88239b1dab368cb, type: 3} - propertyPath: m_Name - value: CheckPoint (4) - objectReference: {fileID: 0} - m_RemovedComponents: [] - m_RemovedGameObjects: [] - m_AddedGameObjects: [] - m_AddedComponents: [] - m_SourcePrefab: {fileID: 100100000, guid: a5cc261231f5a6a4c88239b1dab368cb, type: 3} --- !u!1001 &1495477530 PrefabInstance: m_ObjectHideFlags: 0 @@ -18761,13 +18194,101 @@ PrefabInstance: serializedVersion: 3 m_TransformParent: {fileID: 1017151060} m_Modifications: + - target: {fileID: 2267504697065412416, guid: 1debb6b1b9a0b9d4ea4191642f19fe15, type: 3} + propertyPath: isPlaying + value: 1 + objectReference: {fileID: 0} - target: {fileID: 2267504697065412416, guid: 1debb6b1b9a0b9d4ea4191642f19fe15, type: 3} propertyPath: maxStepsPerCheckpoint value: 2000 objectReference: {fileID: 0} + - target: {fileID: 2267504697065412416, guid: 1debb6b1b9a0b9d4ea4191642f19fe15, type: 3} + propertyPath: checkpoints.Array.data[0] + value: + objectReference: {fileID: 1131200526} + - target: {fileID: 2267504697065412416, guid: 1debb6b1b9a0b9d4ea4191642f19fe15, type: 3} + propertyPath: checkpoints.Array.data[1] + value: + objectReference: {fileID: 1131200525} + - target: {fileID: 2267504697065412416, guid: 1debb6b1b9a0b9d4ea4191642f19fe15, type: 3} + propertyPath: checkpoints.Array.data[2] + value: + objectReference: {fileID: 1131200524} + - target: {fileID: 2267504697065412416, guid: 1debb6b1b9a0b9d4ea4191642f19fe15, type: 3} + propertyPath: checkpoints.Array.data[3] + value: + objectReference: {fileID: 1131200523} + - target: {fileID: 2267504697065412416, guid: 1debb6b1b9a0b9d4ea4191642f19fe15, type: 3} + propertyPath: checkpoints.Array.data[4] + value: + objectReference: {fileID: 1131200522} + - target: {fileID: 2267504697065412416, guid: 1debb6b1b9a0b9d4ea4191642f19fe15, type: 3} + propertyPath: checkpoints.Array.data[5] + value: + objectReference: {fileID: 1131200521} + - target: {fileID: 2267504697065412416, guid: 1debb6b1b9a0b9d4ea4191642f19fe15, type: 3} + propertyPath: checkpoints.Array.data[6] + value: + objectReference: {fileID: 1131200520} + - target: {fileID: 2267504697065412416, guid: 1debb6b1b9a0b9d4ea4191642f19fe15, type: 3} + propertyPath: checkpoints.Array.data[7] + value: + objectReference: {fileID: 1131200519} + - target: {fileID: 2267504697065412416, guid: 1debb6b1b9a0b9d4ea4191642f19fe15, type: 3} + propertyPath: checkpoints.Array.data[8] + value: + objectReference: {fileID: 1131200518} + - target: {fileID: 2267504697065412416, guid: 1debb6b1b9a0b9d4ea4191642f19fe15, type: 3} + propertyPath: checkpoints.Array.data[9] + value: + objectReference: {fileID: 1131200517} + - target: {fileID: 2267504697065412416, guid: 1debb6b1b9a0b9d4ea4191642f19fe15, type: 3} + propertyPath: checkpoints.Array.data[10] + value: + objectReference: {fileID: 1131200516} + - target: {fileID: 2267504697065412416, guid: 1debb6b1b9a0b9d4ea4191642f19fe15, type: 3} + propertyPath: checkpoints.Array.data[11] + value: + objectReference: {fileID: 1131200515} + - target: {fileID: 2267504697065412416, guid: 1debb6b1b9a0b9d4ea4191642f19fe15, type: 3} + propertyPath: checkpoints.Array.data[12] + value: + objectReference: {fileID: 1131200514} + - target: {fileID: 2267504697065412416, guid: 1debb6b1b9a0b9d4ea4191642f19fe15, type: 3} + propertyPath: checkpoints.Array.data[13] + value: + objectReference: {fileID: 1131200513} + - target: {fileID: 2267504697065412416, guid: 1debb6b1b9a0b9d4ea4191642f19fe15, type: 3} + propertyPath: checkpoints.Array.data[14] + value: + objectReference: {fileID: 1131200512} + - target: {fileID: 2267504697065412416, guid: 1debb6b1b9a0b9d4ea4191642f19fe15, type: 3} + propertyPath: checkpoints.Array.data[15] + value: + objectReference: {fileID: 1131200511} + - target: {fileID: 2517647947713595571, guid: 1debb6b1b9a0b9d4ea4191642f19fe15, type: 3} + propertyPath: m_Model + value: + objectReference: {fileID: 5022602860645237092, guid: 32480f119eb42a149a893e96102e1fed, type: 3} + - target: {fileID: 2517647947713595571, guid: 1debb6b1b9a0b9d4ea4191642f19fe15, type: 3} + propertyPath: m_BehaviorType + value: 2 + objectReference: {fileID: 0} - target: {fileID: 6461281435351799366, guid: 1debb6b1b9a0b9d4ea4191642f19fe15, type: 3} propertyPath: m_Name - value: Hotrod (Benson) Variant + value: Hotrod + objectReference: {fileID: 0} + - target: {fileID: 6760919851603153930, guid: 1debb6b1b9a0b9d4ea4191642f19fe15, type: 3} + propertyPath: m_LocalScale.x + value: 0.25 + objectReference: {fileID: 0} + - target: {fileID: 6760919851603153930, guid: 1debb6b1b9a0b9d4ea4191642f19fe15, type: 3} + propertyPath: m_LocalScale.y + value: 0.25 + objectReference: {fileID: 0} + - target: {fileID: 6760919851603153930, guid: 1debb6b1b9a0b9d4ea4191642f19fe15, type: 3} + propertyPath: m_LocalScale.z + value: 0.25 objectReference: {fileID: 0} - target: {fileID: 6760919851603153930, guid: 1debb6b1b9a0b9d4ea4191642f19fe15, type: 3} propertyPath: m_LocalPosition.x @@ -18779,7 +18300,7 @@ PrefabInstance: objectReference: {fileID: 0} - target: {fileID: 6760919851603153930, guid: 1debb6b1b9a0b9d4ea4191642f19fe15, type: 3} propertyPath: m_LocalPosition.z - value: 17.01 + value: 14.93 objectReference: {fileID: 0} - target: {fileID: 6760919851603153930, guid: 1debb6b1b9a0b9d4ea4191642f19fe15, type: 3} propertyPath: m_LocalRotation.w @@ -18787,7 +18308,7 @@ PrefabInstance: objectReference: {fileID: 0} - target: {fileID: 6760919851603153930, guid: 1debb6b1b9a0b9d4ea4191642f19fe15, type: 3} propertyPath: m_LocalRotation.x - value: -0 + value: 0 objectReference: {fileID: 0} - target: {fileID: 6760919851603153930, guid: 1debb6b1b9a0b9d4ea4191642f19fe15, type: 3} propertyPath: m_LocalRotation.y @@ -18795,7 +18316,7 @@ PrefabInstance: objectReference: {fileID: 0} - target: {fileID: 6760919851603153930, guid: 1debb6b1b9a0b9d4ea4191642f19fe15, type: 3} propertyPath: m_LocalRotation.z - value: -0 + value: 0 objectReference: {fileID: 0} - target: {fileID: 6760919851603153930, guid: 1debb6b1b9a0b9d4ea4191642f19fe15, type: 3} propertyPath: m_LocalEulerAnglesHint.x @@ -18803,12 +18324,24 @@ PrefabInstance: objectReference: {fileID: 0} - target: {fileID: 6760919851603153930, guid: 1debb6b1b9a0b9d4ea4191642f19fe15, type: 3} propertyPath: m_LocalEulerAnglesHint.y - value: 0 + value: 90 objectReference: {fileID: 0} - target: {fileID: 6760919851603153930, guid: 1debb6b1b9a0b9d4ea4191642f19fe15, type: 3} propertyPath: m_LocalEulerAnglesHint.z value: 0 objectReference: {fileID: 0} + - target: {fileID: 8698314600559206933, guid: 1debb6b1b9a0b9d4ea4191642f19fe15, type: 3} + propertyPath: m_LocalScale.x + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 8698314600559206933, guid: 1debb6b1b9a0b9d4ea4191642f19fe15, type: 3} + propertyPath: m_LocalScale.y + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 8698314600559206933, guid: 1debb6b1b9a0b9d4ea4191642f19fe15, type: 3} + propertyPath: m_LocalScale.z + value: 1 + objectReference: {fileID: 0} m_RemovedComponents: [] m_RemovedGameObjects: [] m_AddedGameObjects: [] @@ -19696,76 +19229,6 @@ MonoBehaviour: animator: {fileID: 1544495247} npcPrefab: {fileID: 153506, guid: 5e488cfd825ce044395037d93a9d8eb6, type: 3} audio: {fileID: 0} ---- !u!1001 &1551962692 -PrefabInstance: - m_ObjectHideFlags: 0 - serializedVersion: 2 - m_Modification: - serializedVersion: 3 - m_TransformParent: {fileID: 741699578} - m_Modifications: - - target: {fileID: 1288577159706020061, guid: a5cc261231f5a6a4c88239b1dab368cb, type: 3} - propertyPath: m_LocalPosition.x - value: 57.5 - objectReference: {fileID: 0} - - target: {fileID: 1288577159706020061, guid: a5cc261231f5a6a4c88239b1dab368cb, type: 3} - propertyPath: m_LocalPosition.y - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 1288577159706020061, guid: a5cc261231f5a6a4c88239b1dab368cb, type: 3} - propertyPath: m_LocalPosition.z - value: 14.95 - objectReference: {fileID: 0} - - target: {fileID: 1288577159706020061, guid: a5cc261231f5a6a4c88239b1dab368cb, type: 3} - propertyPath: m_LocalRotation.w - value: 0.5 - objectReference: {fileID: 0} - - target: {fileID: 1288577159706020061, guid: a5cc261231f5a6a4c88239b1dab368cb, type: 3} - propertyPath: m_LocalRotation.x - value: 0.5 - objectReference: {fileID: 0} - - target: {fileID: 1288577159706020061, guid: a5cc261231f5a6a4c88239b1dab368cb, type: 3} - propertyPath: m_LocalRotation.y - value: 0.5 - objectReference: {fileID: 0} - - target: {fileID: 1288577159706020061, guid: a5cc261231f5a6a4c88239b1dab368cb, type: 3} - propertyPath: m_LocalRotation.z - value: -0.5 - objectReference: {fileID: 0} - - target: {fileID: 1288577159706020061, guid: a5cc261231f5a6a4c88239b1dab368cb, type: 3} - propertyPath: m_LocalEulerAnglesHint.x - value: 90 - objectReference: {fileID: 0} - - target: {fileID: 1288577159706020061, guid: a5cc261231f5a6a4c88239b1dab368cb, type: 3} - propertyPath: m_LocalEulerAnglesHint.y - value: 90 - objectReference: {fileID: 0} - - target: {fileID: 1288577159706020061, guid: a5cc261231f5a6a4c88239b1dab368cb, type: 3} - propertyPath: m_LocalEulerAnglesHint.z - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 3466260334280045808, guid: a5cc261231f5a6a4c88239b1dab368cb, type: 3} - propertyPath: m_IsTrigger - value: 1 - objectReference: {fileID: 0} - - target: {fileID: 5655726606384773670, guid: a5cc261231f5a6a4c88239b1dab368cb, type: 3} - propertyPath: isVisible - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 7234834637752836426, guid: a5cc261231f5a6a4c88239b1dab368cb, type: 3} - propertyPath: m_Name - value: CheckPoint (15) - objectReference: {fileID: 0} - m_RemovedComponents: [] - m_RemovedGameObjects: [] - m_AddedGameObjects: [] - m_AddedComponents: [] - m_SourcePrefab: {fileID: 100100000, guid: a5cc261231f5a6a4c88239b1dab368cb, type: 3} ---- !u!4 &1551962693 stripped -Transform: - m_CorrespondingSourceObject: {fileID: 1288577159706020061, guid: a5cc261231f5a6a4c88239b1dab368cb, type: 3} - m_PrefabInstance: {fileID: 1551962692} - m_PrefabAsset: {fileID: 0} --- !u!1001 &1565764168 PrefabInstance: m_ObjectHideFlags: 0 @@ -20820,146 +20283,6 @@ PrefabInstance: m_AddedGameObjects: [] m_AddedComponents: [] m_SourcePrefab: {fileID: 100100000, guid: 3b4743a43e04ed145b531ab0f1ae828b, type: 3} ---- !u!1001 &1625559265 -PrefabInstance: - m_ObjectHideFlags: 0 - serializedVersion: 2 - m_Modification: - serializedVersion: 3 - m_TransformParent: {fileID: 741699578} - m_Modifications: - - target: {fileID: 1288577159706020061, guid: a5cc261231f5a6a4c88239b1dab368cb, type: 3} - propertyPath: m_LocalPosition.x - value: 110.5 - objectReference: {fileID: 0} - - target: {fileID: 1288577159706020061, guid: a5cc261231f5a6a4c88239b1dab368cb, type: 3} - propertyPath: m_LocalPosition.y - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 1288577159706020061, guid: a5cc261231f5a6a4c88239b1dab368cb, type: 3} - propertyPath: m_LocalPosition.z - value: 12.5 - objectReference: {fileID: 0} - - target: {fileID: 1288577159706020061, guid: a5cc261231f5a6a4c88239b1dab368cb, type: 3} - propertyPath: m_LocalRotation.w - value: 0.27059805 - objectReference: {fileID: 0} - - target: {fileID: 1288577159706020061, guid: a5cc261231f5a6a4c88239b1dab368cb, type: 3} - propertyPath: m_LocalRotation.x - value: 0.27059805 - objectReference: {fileID: 0} - - target: {fileID: 1288577159706020061, guid: a5cc261231f5a6a4c88239b1dab368cb, type: 3} - propertyPath: m_LocalRotation.y - value: 0.6532815 - objectReference: {fileID: 0} - - target: {fileID: 1288577159706020061, guid: a5cc261231f5a6a4c88239b1dab368cb, type: 3} - propertyPath: m_LocalRotation.z - value: -0.6532815 - objectReference: {fileID: 0} - - target: {fileID: 1288577159706020061, guid: a5cc261231f5a6a4c88239b1dab368cb, type: 3} - propertyPath: m_LocalEulerAnglesHint.x - value: 90 - objectReference: {fileID: 0} - - target: {fileID: 1288577159706020061, guid: a5cc261231f5a6a4c88239b1dab368cb, type: 3} - propertyPath: m_LocalEulerAnglesHint.y - value: 135 - objectReference: {fileID: 0} - - target: {fileID: 1288577159706020061, guid: a5cc261231f5a6a4c88239b1dab368cb, type: 3} - propertyPath: m_LocalEulerAnglesHint.z - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 3466260334280045808, guid: a5cc261231f5a6a4c88239b1dab368cb, type: 3} - propertyPath: m_IsTrigger - value: 1 - objectReference: {fileID: 0} - - target: {fileID: 5655726606384773670, guid: a5cc261231f5a6a4c88239b1dab368cb, type: 3} - propertyPath: isVisible - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 7234834637752836426, guid: a5cc261231f5a6a4c88239b1dab368cb, type: 3} - propertyPath: m_Name - value: CheckPoint (2) - objectReference: {fileID: 0} - m_RemovedComponents: [] - m_RemovedGameObjects: [] - m_AddedGameObjects: [] - m_AddedComponents: [] - m_SourcePrefab: {fileID: 100100000, guid: a5cc261231f5a6a4c88239b1dab368cb, type: 3} ---- !u!4 &1625559266 stripped -Transform: - m_CorrespondingSourceObject: {fileID: 1288577159706020061, guid: a5cc261231f5a6a4c88239b1dab368cb, type: 3} - m_PrefabInstance: {fileID: 1625559265} - m_PrefabAsset: {fileID: 0} ---- !u!1001 &1632493675 -PrefabInstance: - m_ObjectHideFlags: 0 - serializedVersion: 2 - m_Modification: - serializedVersion: 3 - m_TransformParent: {fileID: 741699578} - m_Modifications: - - target: {fileID: 1288577159706020061, guid: a5cc261231f5a6a4c88239b1dab368cb, type: 3} - propertyPath: m_LocalPosition.x - value: 79.8 - objectReference: {fileID: 0} - - target: {fileID: 1288577159706020061, guid: a5cc261231f5a6a4c88239b1dab368cb, type: 3} - propertyPath: m_LocalPosition.y - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 1288577159706020061, guid: a5cc261231f5a6a4c88239b1dab368cb, type: 3} - propertyPath: m_LocalPosition.z - value: -24.44 - objectReference: {fileID: 0} - - target: {fileID: 1288577159706020061, guid: a5cc261231f5a6a4c88239b1dab368cb, type: 3} - propertyPath: m_LocalRotation.w - value: 0.27059805 - objectReference: {fileID: 0} - - target: {fileID: 1288577159706020061, guid: a5cc261231f5a6a4c88239b1dab368cb, type: 3} - propertyPath: m_LocalRotation.x - value: 0.27059805 - objectReference: {fileID: 0} - - target: {fileID: 1288577159706020061, guid: a5cc261231f5a6a4c88239b1dab368cb, type: 3} - propertyPath: m_LocalRotation.y - value: 0.6532815 - objectReference: {fileID: 0} - - target: {fileID: 1288577159706020061, guid: a5cc261231f5a6a4c88239b1dab368cb, type: 3} - propertyPath: m_LocalRotation.z - value: -0.6532815 - objectReference: {fileID: 0} - - target: {fileID: 1288577159706020061, guid: a5cc261231f5a6a4c88239b1dab368cb, type: 3} - propertyPath: m_LocalEulerAnglesHint.x - value: 90 - objectReference: {fileID: 0} - - target: {fileID: 1288577159706020061, guid: a5cc261231f5a6a4c88239b1dab368cb, type: 3} - propertyPath: m_LocalEulerAnglesHint.y - value: 135 - objectReference: {fileID: 0} - - target: {fileID: 1288577159706020061, guid: a5cc261231f5a6a4c88239b1dab368cb, type: 3} - propertyPath: m_LocalEulerAnglesHint.z - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 3466260334280045808, guid: a5cc261231f5a6a4c88239b1dab368cb, type: 3} - propertyPath: m_IsTrigger - value: 1 - objectReference: {fileID: 0} - - target: {fileID: 5655726606384773670, guid: a5cc261231f5a6a4c88239b1dab368cb, type: 3} - propertyPath: isVisible - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 7234834637752836426, guid: a5cc261231f5a6a4c88239b1dab368cb, type: 3} - propertyPath: m_Name - value: CheckPoint (11) - objectReference: {fileID: 0} - m_RemovedComponents: [] - m_RemovedGameObjects: [] - m_AddedGameObjects: [] - m_AddedComponents: [] - m_SourcePrefab: {fileID: 100100000, guid: a5cc261231f5a6a4c88239b1dab368cb, type: 3} ---- !u!4 &1632493676 stripped -Transform: - m_CorrespondingSourceObject: {fileID: 1288577159706020061, guid: a5cc261231f5a6a4c88239b1dab368cb, type: 3} - m_PrefabInstance: {fileID: 1632493675} - m_PrefabAsset: {fileID: 0} --- !u!4 &1635095405 stripped Transform: m_CorrespondingSourceObject: {fileID: 43625883235569613, guid: 8e14ccd68551a1a4e93b83808515b996, type: 3} @@ -24974,76 +24297,6 @@ MonoBehaviour: animator: {fileID: 1916307783} npcPrefab: {fileID: 153506, guid: 5e488cfd825ce044395037d93a9d8eb6, type: 3} audio: {fileID: 0} ---- !u!1001 &1924982537 -PrefabInstance: - m_ObjectHideFlags: 0 - serializedVersion: 2 - m_Modification: - serializedVersion: 3 - m_TransformParent: {fileID: 741699578} - m_Modifications: - - target: {fileID: 1288577159706020061, guid: a5cc261231f5a6a4c88239b1dab368cb, type: 3} - propertyPath: m_LocalPosition.x - value: 45.050003 - objectReference: {fileID: 0} - - target: {fileID: 1288577159706020061, guid: a5cc261231f5a6a4c88239b1dab368cb, type: 3} - propertyPath: m_LocalPosition.y - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 1288577159706020061, guid: a5cc261231f5a6a4c88239b1dab368cb, type: 3} - propertyPath: m_LocalPosition.z - value: -11.190001 - objectReference: {fileID: 0} - - target: {fileID: 1288577159706020061, guid: a5cc261231f5a6a4c88239b1dab368cb, type: 3} - propertyPath: m_LocalRotation.w - value: 0.7071068 - objectReference: {fileID: 0} - - target: {fileID: 1288577159706020061, guid: a5cc261231f5a6a4c88239b1dab368cb, type: 3} - propertyPath: m_LocalRotation.x - value: 0.7071068 - objectReference: {fileID: 0} - - target: {fileID: 1288577159706020061, guid: a5cc261231f5a6a4c88239b1dab368cb, type: 3} - propertyPath: m_LocalRotation.y - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 1288577159706020061, guid: a5cc261231f5a6a4c88239b1dab368cb, type: 3} - propertyPath: m_LocalRotation.z - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 1288577159706020061, guid: a5cc261231f5a6a4c88239b1dab368cb, type: 3} - propertyPath: m_LocalEulerAnglesHint.x - value: 90 - objectReference: {fileID: 0} - - target: {fileID: 1288577159706020061, guid: a5cc261231f5a6a4c88239b1dab368cb, type: 3} - propertyPath: m_LocalEulerAnglesHint.y - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 1288577159706020061, guid: a5cc261231f5a6a4c88239b1dab368cb, type: 3} - propertyPath: m_LocalEulerAnglesHint.z - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 3466260334280045808, guid: a5cc261231f5a6a4c88239b1dab368cb, type: 3} - propertyPath: m_IsTrigger - value: 1 - objectReference: {fileID: 0} - - target: {fileID: 5655726606384773670, guid: a5cc261231f5a6a4c88239b1dab368cb, type: 3} - propertyPath: isVisible - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 7234834637752836426, guid: a5cc261231f5a6a4c88239b1dab368cb, type: 3} - propertyPath: m_Name - value: CheckPoint (13) - objectReference: {fileID: 0} - m_RemovedComponents: [] - m_RemovedGameObjects: [] - m_AddedGameObjects: [] - m_AddedComponents: [] - m_SourcePrefab: {fileID: 100100000, guid: a5cc261231f5a6a4c88239b1dab368cb, type: 3} ---- !u!4 &1924982538 stripped -Transform: - m_CorrespondingSourceObject: {fileID: 1288577159706020061, guid: a5cc261231f5a6a4c88239b1dab368cb, type: 3} - m_PrefabInstance: {fileID: 1924982537} - m_PrefabAsset: {fileID: 0} --- !u!1 &1927000304 stripped GameObject: m_CorrespondingSourceObject: {fileID: 1144658963992784436, guid: 9ffbbbe0f32e84c418118cfd82141aa5, type: 3} @@ -25086,76 +24339,6 @@ Animator: m_CorrespondingSourceObject: {fileID: 1144658963985576444, guid: 9ffbbbe0f32e84c418118cfd82141aa5, type: 3} m_PrefabInstance: {fileID: 1077232721} m_PrefabAsset: {fileID: 0} ---- !u!1001 &1953001436 -PrefabInstance: - m_ObjectHideFlags: 0 - serializedVersion: 2 - m_Modification: - serializedVersion: 3 - m_TransformParent: {fileID: 741699578} - m_Modifications: - - target: {fileID: 1288577159706020061, guid: a5cc261231f5a6a4c88239b1dab368cb, type: 3} - propertyPath: m_LocalPosition.x - value: 45 - objectReference: {fileID: 0} - - target: {fileID: 1288577159706020061, guid: a5cc261231f5a6a4c88239b1dab368cb, type: 3} - propertyPath: m_LocalPosition.y - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 1288577159706020061, guid: a5cc261231f5a6a4c88239b1dab368cb, type: 3} - propertyPath: m_LocalPosition.z - value: 5.45 - objectReference: {fileID: 0} - - target: {fileID: 1288577159706020061, guid: a5cc261231f5a6a4c88239b1dab368cb, type: 3} - propertyPath: m_LocalRotation.w - value: 0.7071068 - objectReference: {fileID: 0} - - target: {fileID: 1288577159706020061, guid: a5cc261231f5a6a4c88239b1dab368cb, type: 3} - propertyPath: m_LocalRotation.x - value: 0.7071068 - objectReference: {fileID: 0} - - target: {fileID: 1288577159706020061, guid: a5cc261231f5a6a4c88239b1dab368cb, type: 3} - propertyPath: m_LocalRotation.y - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 1288577159706020061, guid: a5cc261231f5a6a4c88239b1dab368cb, type: 3} - propertyPath: m_LocalRotation.z - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 1288577159706020061, guid: a5cc261231f5a6a4c88239b1dab368cb, type: 3} - propertyPath: m_LocalEulerAnglesHint.x - value: 90 - objectReference: {fileID: 0} - - target: {fileID: 1288577159706020061, guid: a5cc261231f5a6a4c88239b1dab368cb, type: 3} - propertyPath: m_LocalEulerAnglesHint.y - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 1288577159706020061, guid: a5cc261231f5a6a4c88239b1dab368cb, type: 3} - propertyPath: m_LocalEulerAnglesHint.z - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 3466260334280045808, guid: a5cc261231f5a6a4c88239b1dab368cb, type: 3} - propertyPath: m_IsTrigger - value: 1 - objectReference: {fileID: 0} - - target: {fileID: 5655726606384773670, guid: a5cc261231f5a6a4c88239b1dab368cb, type: 3} - propertyPath: isVisible - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 7234834637752836426, guid: a5cc261231f5a6a4c88239b1dab368cb, type: 3} - propertyPath: m_Name - value: CheckPoint (14) - objectReference: {fileID: 0} - m_RemovedComponents: [] - m_RemovedGameObjects: [] - m_AddedGameObjects: [] - m_AddedComponents: [] - m_SourcePrefab: {fileID: 100100000, guid: a5cc261231f5a6a4c88239b1dab368cb, type: 3} ---- !u!4 &1953001437 stripped -Transform: - m_CorrespondingSourceObject: {fileID: 1288577159706020061, guid: a5cc261231f5a6a4c88239b1dab368cb, type: 3} - m_PrefabInstance: {fileID: 1953001436} - m_PrefabAsset: {fileID: 0} --- !u!1001 &1965908886 PrefabInstance: m_ObjectHideFlags: 0 @@ -27329,13 +26512,13 @@ PrefabInstance: addedObject: {fileID: 2123726298} - targetCorrespondingSourceObject: {fileID: 4599203270359476959, guid: d5caff8338f793c4eb4490cc52546faf, type: 3} insertIndex: -1 - addedObject: {fileID: 2123726297} + addedObject: {fileID: 2123726299} - targetCorrespondingSourceObject: {fileID: 4599203270359476959, guid: d5caff8338f793c4eb4490cc52546faf, type: 3} insertIndex: -1 addedObject: {fileID: 2123726300} - targetCorrespondingSourceObject: {fileID: 4599203270359476959, guid: d5caff8338f793c4eb4490cc52546faf, type: 3} insertIndex: -1 - addedObject: {fileID: 2123726299} + addedObject: {fileID: 2123726301} m_SourcePrefab: {fileID: 100100000, guid: d5caff8338f793c4eb4490cc52546faf, type: 3} --- !u!4 &2123726295 stripped Transform: @@ -27347,48 +26530,6 @@ GameObject: m_CorrespondingSourceObject: {fileID: 4599203270359476959, guid: d5caff8338f793c4eb4490cc52546faf, type: 3} m_PrefabInstance: {fileID: 2123726294} m_PrefabAsset: {fileID: 0} ---- !u!114 &2123726297 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 2123726296} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: e504560e573e8634db5ced380452680f, type: 3} - m_Name: - m_EditorClassIdentifier: - agentParameters: - maxStep: 0 - hasUpgradedFromAgentParameters: 1 - MaxStep: 0 - motorTorque: 300 - brakeTorque: 500 - maxSpeed: 400 - steeringRange: 9 - steeringRangeAtMaxSpeed: 7 - autoBrake: 100 - checkpoints: - - {fileID: 1131200526} - - {fileID: 1131200525} - - {fileID: 1131200524} - - {fileID: 1131200523} - - {fileID: 1131200522} - - {fileID: 1131200521} - - {fileID: 1131200520} - - {fileID: 1131200519} - - {fileID: 1131200518} - - {fileID: 1131200517} - - {fileID: 1131200516} - - {fileID: 1131200515} - - {fileID: 1131200514} - - {fileID: 1131200513} - - {fileID: 1131200512} - - {fileID: 1131200511} - maxStepsPerCheckpoint: 1000 - distanceBetweenCheckpoints: 20 - ignoreMentalPain: 1 --- !u!114 &2123726298 MonoBehaviour: m_ObjectHideFlags: 0 @@ -27411,10 +26552,10 @@ MonoBehaviour: VectorActionDescriptions: [] VectorActionSpaceType: 0 hasUpgradedBrainParametersWithActionSpec: 1 - m_Model: {fileID: 5022602860645237092, guid: 5f6df22bf205b4e4c8a67843cc705a0f, type: 3} + m_Model: {fileID: 0} m_InferenceDevice: 0 - m_BehaviorType: 2 - m_BehaviorName: BensonV6.1 + m_BehaviorType: 0 + m_BehaviorName: BensonV7 TeamId: 0 m_UseChildSensors: 1 m_UseChildActuators: 1 @@ -27444,6 +26585,51 @@ MonoBehaviour: - {fileID: 2100000, guid: 975703bb1a02ae64d9964e703202734f, type: 2} - {fileID: 2100000, guid: 975703bb1a02ae64d9964e703202734f, type: 2} --- !u!114 &2123726300 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 2123726296} + 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: 1131200526} + - {fileID: 1131200525} + - {fileID: 1131200524} + - {fileID: 1131200523} + - {fileID: 1131200522} + - {fileID: 1131200521} + - {fileID: 1131200520} + - {fileID: 1131200519} + - {fileID: 1131200518} + - {fileID: 1131200517} + - {fileID: 1131200516} + - {fileID: 1131200515} + - {fileID: 1131200514} + - {fileID: 1131200513} + - {fileID: 1131200512} + - {fileID: 1131200511} + checkpointsCollected: 0 + maxStepsPerCheckpoint: 2000 + distanceBetweenCheckpoints: 20 + ignoreMentalPain: 1 + isPlaying: 0 + isFinished: 0 +--- !u!114 &2123726301 MonoBehaviour: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} @@ -27903,10 +27089,14 @@ PrefabInstance: propertyPath: cam value: objectReference: {fileID: 454865285} + - target: {fileID: 4615150776958234185, guid: dc3e6243ce610df4c845a9fa5df754a7, type: 3} + propertyPath: Cars.Array.size + value: 2 + objectReference: {fileID: 0} - target: {fileID: 4615150776958234185, guid: dc3e6243ce610df4c845a9fa5df754a7, type: 3} propertyPath: Cars.Array.data[0] value: - objectReference: {fileID: 0} + objectReference: {fileID: 1495477532} - target: {fileID: 4615150776958234185, guid: dc3e6243ce610df4c845a9fa5df754a7, type: 3} propertyPath: Cars.Array.data[1] value: @@ -27921,7 +27111,7 @@ PrefabInstance: objectReference: {fileID: 0} - target: {fileID: 5365138393421743302, guid: dc3e6243ce610df4c845a9fa5df754a7, type: 3} propertyPath: players.Array.size - value: 3 + value: 2 objectReference: {fileID: 0} - target: {fileID: 5365138393421743302, guid: dc3e6243ce610df4c845a9fa5df754a7, type: 3} propertyPath: players.Array.data[0] @@ -27930,7 +27120,7 @@ PrefabInstance: - target: {fileID: 5365138393421743302, guid: dc3e6243ce610df4c845a9fa5df754a7, type: 3} propertyPath: players.Array.data[1] value: - objectReference: {fileID: 0} + objectReference: {fileID: 1495477532} - target: {fileID: 5365138393421743302, guid: dc3e6243ce610df4c845a9fa5df754a7, type: 3} propertyPath: players.Array.data[2] value: @@ -28006,7 +27196,7 @@ PrefabInstance: - target: {fileID: 5539949921570205737, guid: dc3e6243ce610df4c845a9fa5df754a7, type: 3} propertyPath: PlayerCar value: - objectReference: {fileID: 788662684} + objectReference: {fileID: 0} m_RemovedComponents: [] m_RemovedGameObjects: [] m_AddedGameObjects: [] @@ -28022,7 +27212,6 @@ SceneRoots: - {fileID: 1077232721} - {fileID: 587494461} - {fileID: 5211344267139555828} - - {fileID: 741699578} - {fileID: 998358590} - {fileID: 323815922} - {fileID: 454865284} diff --git a/Assets/Scripts/AgentControllerV7.cs b/Assets/Scripts/AgentControllerV7.cs index 09f92bd..3299dd5 100644 --- a/Assets/Scripts/AgentControllerV7.cs +++ b/Assets/Scripts/AgentControllerV7.cs @@ -33,6 +33,8 @@ public class AgentController: Agent public int distanceBetweenCheckpoints = 5; public bool ignoreMentalPain = true; bool isEnabled = true; + public bool isPlaying = false; + [HideInInspector] public bool isFinished = false; // needed for gamemanager protected override void OnDisable() { @@ -56,9 +58,13 @@ public class AgentController: Agent return; stepsSinceCheckpoint = 0; - checkpointsCollected = 0; totalReward = 0; totalMentalPain = 0; + checkpointsCollected = 0; + + // don't reset car unless in training + if (isPlaying) + return; // reset wheels foreach (var wheel in wheels) @@ -92,6 +98,12 @@ public class AgentController: Agent public override void CollectObservations(VectorSensor sensor) { + if (!isEnabled) + { + for (int i = 0; i < 6; i++) + sensor.AddObservation(0); + return; + } Transform currentCheckpoint = checkpoints[checkpointsCollected].transform; @@ -249,7 +261,16 @@ public class AgentController: Agent if (checkpointsCollected == checkpoints.Count - 1) { AddReward(10f); - EndEpisode(); + + if (isPlaying) + { + isFinished = true; + } + + EndEpisode(); + + + } checkpointsCollected += 1; @@ -268,7 +289,34 @@ public class AgentController: Agent if (stepsSinceCheckpoint >= maxStepsPerCheckpoint) { stepsSinceCheckpoint = 0; - EndEpisode(); + + if (isPlaying) // send back to previous checkpoint if stuck + { + + if (checkpointsCollected == 0) + { + transform.position = startPosition; + transform.rotation = startRotation; + } + else + { + transform.position = new Vector3( + checkpoints[checkpointsCollected - 1].transform.position.x, + transform.position.y + 3, + checkpoints[checkpointsCollected - 1].transform.position.z + ); + + transform.eulerAngles = new Vector3( + transform.eulerAngles.x, + checkpoints[checkpointsCollected - 1].transform.eulerAngles.y, + transform.eulerAngles.z + ); + } + + rb.velocity = Vector3.zero; + } + else + EndEpisode(); } // print(GetCumulativeReward()); diff --git a/Assets/Scripts/Car Customization/Car Loader.cs b/Assets/Scripts/Car Customization/Car Loader.cs index 7bf76be..e2c19ad 100644 --- a/Assets/Scripts/Car Customization/Car Loader.cs +++ b/Assets/Scripts/Car Customization/Car Loader.cs @@ -15,8 +15,17 @@ public class CarLoader : MonoBehaviour public GameObject targetcar; void Start() { - carType = GameObject.Find("Car Data").GetComponent().carType; - carColor = GameObject.Find("Car Data").GetComponent().carColor; + try + { + carType = GameObject.Find("Car Data").GetComponent().carType; + carColor = GameObject.Find("Car Data").GetComponent().carColor; + } + catch (System.Exception) + { + carType = "Racecar"; + carColor = "Default"; + print("no loading"); + } foreach (GameObject car in Cars) { diff --git a/Assets/Scripts/GameManager.cs b/Assets/Scripts/GameManager.cs index c8e77b8..85a39b6 100644 --- a/Assets/Scripts/GameManager.cs +++ b/Assets/Scripts/GameManager.cs @@ -24,16 +24,40 @@ public class GameManager : MonoBehaviour // Update is called once per frame void Update() { - foreach (GameObject player in players) + for (int i = 0; i < players.Count(); i++) { - try + GameObject player = players[i]; + + bool isAI = true; + if (player.GetComponent().enabled) + isAI = false; + + if (isAI) + { + bool isFinished = player.GetComponent().isFinished; + + if (isFinished) + { + player.GetComponent().isFinished = false; + playerLaps[i] += 1; + } + } + else { int checkpointsCollected = player.GetComponent().checkpointsCollected; + + if (checkpointsCollected == checkpoints.Count()) + { + player.GetComponent().checkpointsCollected = 0; + playerLaps[i] += 1; + } } - catch + + if (playerLaps[i] > lapAmount) { - int checkpointsCollected = player.GetComponent().checkpointsCollected; + player.GetComponent().isKinematic = true; } + } } }