diff --git a/Assets/ML-Agents/Timers/Racetrack_timers.json b/Assets/ML-Agents/Timers/Racetrack_timers.json new file mode 100644 index 0000000..8aae2a7 --- /dev/null +++ b/Assets/ML-Agents/Timers/Racetrack_timers.json @@ -0,0 +1 @@ +{"count":1,"self":501.4254592,"total":506.14158419999995,"children":{"InitializeActuators":{"count":1,"self":0.0019946,"total":0.0019946,"children":null},"InitializeSensors":{"count":1,"self":0.0019959,"total":0.0019959,"children":null},"AgentSendState":{"count":2054,"self":0.2117914,"total":0.3356056,"children":{"CollectObservations":{"count":2054,"self":0.070933799999999991,"total":0.070933799999999991,"children":null},"WriteActionMask":{"count":2054,"self":0.014993999999999999,"total":0.014993999999999999,"children":null},"RequestDecision":{"count":2054,"self":0.0378864,"total":0.0378864,"children":null}}},"DecideAction":{"count":2054,"self":4.1792728,"total":4.2159086,"children":{"RayPerceptionSensor.Perceive":{"count":4108,"self":0.036635799999999996,"total":0.036635799999999996,"children":null}}},"AgentAct":{"count":2054,"self":0.1606052,"total":0.1606052,"children":null}},"gauges":{"BensonImitationV2.CumulativeReward":{"count":2,"max":15.0371494,"min":0.0100000007,"runningAverage":7.523575,"value":15.0371494,"weightedAverage":3.76678729}},"metadata":{"timer_format_version":"0.1.0","start_time_seconds":"1712915962","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\\Ny unityting\\Racesm -useHub -hubIPC -cloudEnvironment production -licensingIpc LicenseClient-Magnus -hubSessionId cf11875e-7c45-4b77-a92f-dc14d8e96b41 -accessToken niNI_cX07NrigS8n9U0wVIj4PPmUMi8ELGwrz7xYRyQ005f","communication_protocol_version":"1.5.0","com.unity.ml-agents_version":"2.0.1","scene_name":"Racetrack","end_time_seconds":"1712916468"}} \ No newline at end of file diff --git a/Assets/Materials/CheckPoint.mat b/Assets/Materials/CheckPoint.mat new file mode 100644 index 0000000..f607a9b --- /dev/null +++ b/Assets/Materials/CheckPoint.mat @@ -0,0 +1,87 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!21 &2100000 +Material: + serializedVersion: 8 + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_Name: CheckPoint + m_Shader: {fileID: 46, guid: 0000000000000000f000000000000000, type: 0} + m_Parent: {fileID: 0} + m_ModifiedSerializedProperties: 0 + m_ValidKeywords: + - _ALPHAPREMULTIPLY_ON + - _EMISSION + - _SMOOTHNESS_TEXTURE_ALBEDO_CHANNEL_A + m_InvalidKeywords: [] + m_LightmapFlags: 1 + m_EnableInstancingVariants: 0 + m_DoubleSidedGI: 0 + m_CustomRenderQueue: 3000 + stringTagMap: + RenderType: Transparent + disabledShaderPasses: [] + m_LockedProperties: + m_SavedProperties: + serializedVersion: 3 + m_TexEnvs: + - _BumpMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DetailAlbedoMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DetailMask: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DetailNormalMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _EmissionMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _MainTex: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _MetallicGlossMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _OcclusionMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _ParallaxMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + m_Ints: [] + m_Floats: + - _BumpScale: 1 + - _Cutoff: 0.5 + - _DetailNormalMapScale: 1 + - _DstBlend: 10 + - _GlossMapScale: 1 + - _Glossiness: 0.5 + - _GlossyReflections: 1 + - _Metallic: 0 + - _Mode: 3 + - _OcclusionStrength: 1 + - _Parallax: 0.02 + - _SmoothnessTextureChannel: 1 + - _SpecularHighlights: 1 + - _SrcBlend: 1 + - _UVSec: 0 + - _ZWrite: 0 + m_Colors: + - _Color: {r: 0.8018868, g: 0.7415979, b: 0.1109528, a: 0.43137255} + - _EmissionColor: {r: 0.33245158, g: 0.30946895, b: 0.082282715, a: 1} + m_BuildTextureStacks: [] diff --git a/Assets/Materials/CheckPoint.mat.meta b/Assets/Materials/CheckPoint.mat.meta new file mode 100644 index 0000000..46c954c --- /dev/null +++ b/Assets/Materials/CheckPoint.mat.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: d1033698f69937945af355af22522f50 +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 2100000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Prefabs/CheckPoint.prefab b/Assets/Prefabs/CheckPoint.prefab new file mode 100644 index 0000000..719f8fc --- /dev/null +++ b/Assets/Prefabs/CheckPoint.prefab @@ -0,0 +1,139 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!1 &3959557473817272857 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 257965083965449723} + - component: {fileID: 2670097205243573776} + - component: {fileID: 5347261225699996736} + - component: {fileID: 8320126915491364009} + m_Layer: 0 + m_Name: model + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &257965083965449723 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 3959557473817272857} + serializedVersion: 2 + m_LocalRotation: {x: 0.7071068, y: 0, z: 0, w: 0.7071068} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 30, y: 1, z: 30} + m_ConstrainProportionsScale: 0 + m_Children: [] + m_Father: {fileID: 1288577159706020061} + m_LocalEulerAnglesHint: {x: 90, y: 0, z: 0} +--- !u!33 &2670097205243573776 +MeshFilter: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 3959557473817272857} + m_Mesh: {fileID: 10206, guid: 0000000000000000e000000000000000, type: 0} +--- !u!23 &5347261225699996736 +MeshRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 3959557473817272857} + m_Enabled: 1 + m_CastShadows: 1 + m_ReceiveShadows: 1 + m_DynamicOccludee: 1 + m_StaticShadowCaster: 0 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_RayTracingMode: 2 + m_RayTraceProcedural: 0 + m_RenderingLayerMask: 1 + m_RendererPriority: 0 + m_Materials: + - {fileID: 2100000, guid: d1033698f69937945af355af22522f50, type: 2} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_ReceiveGI: 1 + m_PreserveUVs: 0 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 1 + m_SelectedEditorRenderState: 3 + m_MinimumChartSize: 4 + m_AutoUVMaxDistance: 0.5 + m_AutoUVMaxAngle: 89 + m_LightmapParameters: {fileID: 0} + m_SortingLayerID: 0 + m_SortingLayer: 0 + m_SortingOrder: 0 + m_AdditionalVertexStreams: {fileID: 0} +--- !u!65 &8320126915491364009 +BoxCollider: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 3959557473817272857} + m_Material: {fileID: 0} + m_IncludeLayers: + serializedVersion: 2 + m_Bits: 0 + m_ExcludeLayers: + serializedVersion: 2 + m_Bits: 0 + m_LayerOverridePriority: 0 + m_IsTrigger: 0 + m_ProvidesContacts: 0 + m_Enabled: 1 + serializedVersion: 3 + m_Size: {x: 1.0000001, y: 2.0000005, z: 1.0000005} + m_Center: {x: 0.000000059604645, y: 0, z: -0.00000008940699} +--- !u!1 &7234834637752836426 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 1288577159706020061} + m_Layer: 0 + m_Name: CheckPoint + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &1288577159706020061 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 7234834637752836426} + serializedVersion: 2 + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 48.319576, y: 2.6632206, z: -37.745872} + m_LocalScale: {x: 1, y: 1, z: 1} + m_ConstrainProportionsScale: 0 + m_Children: + - {fileID: 257965083965449723} + m_Father: {fileID: 0} + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} diff --git a/Assets/Prefabs/CheckPoint.prefab.meta b/Assets/Prefabs/CheckPoint.prefab.meta new file mode 100644 index 0000000..d282a5b --- /dev/null +++ b/Assets/Prefabs/CheckPoint.prefab.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: a5cc261231f5a6a4c88239b1dab368cb +PrefabImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scenes/Racetrack.unity b/Assets/Scenes/Racetrack.unity index db2e581..5ccd19b 100644 --- a/Assets/Scenes/Racetrack.unity +++ b/Assets/Scenes/Racetrack.unity @@ -38,7 +38,7 @@ RenderSettings: m_ReflectionIntensity: 1 m_CustomReflection: {fileID: 0} m_Sun: {fileID: 0} - m_IndirectSpecularColor: {r: 0.44657874, g: 0.49641258, b: 0.5748172, a: 1} + m_IndirectSpecularColor: {r: 0.44657826, g: 0.49641263, b: 0.57481676, a: 1} m_UseRadianceAmbientProbe: 0 --- !u!157 &3 LightmapSettings: @@ -514,6 +514,63 @@ PrefabInstance: m_AddedGameObjects: [] m_AddedComponents: [] m_SourcePrefab: {fileID: 100100000, guid: 84438521ba0ce84479684052bad06126, type: 3} +--- !u!1001 &2034582631126909176 +PrefabInstance: + m_ObjectHideFlags: 0 + serializedVersion: 2 + m_Modification: + serializedVersion: 3 + m_TransformParent: {fileID: 0} + m_Modifications: + - target: {fileID: 1288577159706020061, guid: a5cc261231f5a6a4c88239b1dab368cb, type: 3} + propertyPath: m_LocalPosition.x + value: 0 + 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.75 + objectReference: {fileID: 0} + - target: {fileID: 1288577159706020061, guid: a5cc261231f5a6a4c88239b1dab368cb, type: 3} + propertyPath: m_LocalRotation.w + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 1288577159706020061, guid: a5cc261231f5a6a4c88239b1dab368cb, type: 3} + propertyPath: m_LocalRotation.x + value: 0 + 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: 0 + 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: 7234834637752836426, guid: a5cc261231f5a6a4c88239b1dab368cb, type: 3} + propertyPath: m_Name + value: CheckPoint + objectReference: {fileID: 0} + m_RemovedComponents: [] + m_RemovedGameObjects: [] + m_AddedGameObjects: [] + m_AddedComponents: [] + m_SourcePrefab: {fileID: 100100000, guid: a5cc261231f5a6a4c88239b1dab368cb, type: 3} --- !u!1001 &7921848799276681536 PrefabInstance: m_ObjectHideFlags: 0 @@ -662,3 +719,4 @@ SceneRoots: - {fileID: 98617657} - {fileID: 7921848799276681536} - {fileID: 8222889276702183714} + - {fileID: 2034582631126909176}