This commit is contained in:
2024-04-23 10:45:45 +02:00
parent 89993829ba
commit f2ae69b28f
16 changed files with 809 additions and 912 deletions

View File

@@ -1 +1 @@
{"count":1,"self":5.6324847999999994,"total":5.6505358,"children":{"InitializeActuators":{"count":1,"self":0.0015026999999999998,"total":0.0015026999999999998,"children":null},"InitializeSensors":{"count":1,"self":0.0010003,"total":0.0010003,"children":null},"AgentSendState":{"count":1,"self":0.0025035,"total":0.013547499999999999,"children":{"CollectObservations":{"count":1,"self":0.0015046,"total":0.0015046,"children":null},"WriteActionMask":{"count":1,"self":0.0010012,"total":0.0010012,"children":null},"RequestDecision":{"count":1,"self":0.0085382,"total":0.0085382,"children":null}}},"DecideAction":{"count":1,"self":0.0020005,"total":0.0020005,"children":{"RayPerceptionSensor.Perceive":{"count":2,"self":0,"total":0,"children":null}}}},"gauges":{},"metadata":{"timer_format_version":"0.1.0","start_time_seconds":"1713853996","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 249cbe37-b739-48da-be83-8703208ec644 -accessToken 8HP4BNN_d2rYa9gBqxxeXFjsh8NpNokVC4_Asgt7liQ005f","communication_protocol_version":"1.5.0","com.unity.ml-agents_version":"2.0.1","scene_name":"AI training","end_time_seconds":"1713854002"}}
{"count":1,"self":39.290192,"total":39.369816199999995,"children":{"InitializeActuators":{"count":1,"self":0.0015026999999999998,"total":0.0015026999999999998,"children":null},"InitializeSensors":{"count":1,"self":0.0010000999999999999,"total":0.0010000999999999999,"children":null},"AgentSendState":{"count":1732,"self":0.0165505,"total":0.0299536,"children":{"CollectObservations":{"count":347,"self":0.0070706,"total":0.0070706,"children":null},"WriteActionMask":{"count":347,"self":0.0016007999999999999,"total":0.0016007999999999999,"children":null},"RequestDecision":{"count":347,"self":0.0047317,"total":0.0047317,"children":null}}},"DecideAction":{"count":1732,"self":0.013416899999999999,"total":0.013416899999999999,"children":null},"AgentAct":{"count":1732,"self":0.0327384,"total":0.0327384,"children":null}},"gauges":{},"metadata":{"timer_format_version":"0.1.0","start_time_seconds":"1713859090","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 249cbe37-b739-48da-be83-8703208ec644 -accessToken 8HP4BNN_d2rYa9gBqxxeXFjsh8NpNokVC4_Asgt7liQ005f","communication_protocol_version":"1.5.0","com.unity.ml-agents_version":"2.0.1","scene_name":"AI training","end_time_seconds":"1713859130"}}

View File

@@ -1 +1 @@
{"count":1,"self":24.0355824,"total":24.4568187,"children":{"InitializeActuators":{"count":1,"self":0.0019961,"total":0.0019961,"children":null},"InitializeSensors":{"count":1,"self":0.0030007999999999996,"total":0.0030007999999999996,"children":null},"AgentSendState":{"count":927,"self":0.0219898,"total":0.0439837,"children":{"CollectObservations":{"count":186,"self":0.0059596,"total":0.0059596,"children":null},"WriteActionMask":{"count":186,"self":0.0019936999999999997,"total":0.0019936999999999997,"children":null},"RequestDecision":{"count":186,"self":0.014040599999999999,"total":0.014040599999999999,"children":null}}},"DecideAction":{"count":927,"self":0.3294081,"total":0.3334212,"children":{"RayPerceptionSensor.Perceive":{"count":372,"self":0.0040130999999999995,"total":0.0040130999999999995,"children":null}}},"AgentAct":{"count":927,"self":0.037792,"total":0.037792,"children":null}},"gauges":{},"metadata":{"timer_format_version":"0.1.0","start_time_seconds":"1713786962","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 a46bbc96-28a5-4259-92a3-973b67f02cfa -accessToken k4OEQxiwScKug_Xa5U1DLZvpTm4D3Er8o-C8T-s54Ak005f","communication_protocol_version":"1.5.0","com.unity.ml-agents_version":"2.0.1","scene_name":"Racetrack mini","end_time_seconds":"1713786986"}}
{"count":1,"self":10.982344,"total":11.1048147,"children":{"InitializeActuators":{"count":1,"self":0.0010012999999999999,"total":0.0010012999999999999,"children":null},"InitializeSensors":{"count":1,"self":0.0015044,"total":0.0015044,"children":null},"AgentSendState":{"count":321,"self":0.008182,"total":0.0197174,"children":{"CollectObservations":{"count":65,"self":0.0025157,"total":0.0025157,"children":null},"WriteActionMask":{"count":65,"self":0,"total":0,"children":null},"RequestDecision":{"count":65,"self":0.0090197,"total":0.0090197,"children":null}}},"DecideAction":{"count":321,"self":0.086684299999999992,"total":0.086684299999999992,"children":{"RayPerceptionSensor.Perceive":{"count":130,"self":0,"total":0,"children":null}}},"AgentAct":{"count":321,"self":0.012562,"total":0.012562,"children":null}},"gauges":{},"metadata":{"timer_format_version":"0.1.0","start_time_seconds":"1713861459","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 249cbe37-b739-48da-be83-8703208ec644 -accessToken 8HP4BNN_d2rYa9gBqxxeXFjsh8NpNokVC4_Asgt7liQ005f","communication_protocol_version":"1.5.0","com.unity.ml-agents_version":"2.0.1","scene_name":"Racetrack mini","end_time_seconds":"1713861470"}}

View File

@@ -0,0 +1,47 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!1 &3730747174356696648
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 6654786458191517942}
- component: {fileID: 5081994082839948773}
m_Layer: 0
m_Name: GameManager
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &6654786458191517942
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 3730747174356696648}
serializedVersion: 2
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 973.61975, y: 433.16608, z: 10.137479}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 0}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!114 &5081994082839948773
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 3730747174356696648}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: eb30df1407c4e1348a03c058cb70c8ff, type: 3}
m_Name:
m_EditorClassIdentifier:
playerCar: {fileID: 0}

View File

@@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: dc3e6243ce610df4c845a9fa5df754a7
PrefabImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -315,94 +315,6 @@ BoxCollider:
serializedVersion: 3
m_Size: {x: 1, y: 1, z: 1}
m_Center: {x: 0, y: 0, z: 0}
--- !u!1 &19324059847040752
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 6318546006281194676}
- component: {fileID: 4360132125171314415}
- component: {fileID: 3926494793098572642}
m_Layer: 0
m_Name: Wheel_FR_Collider
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &6318546006281194676
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 19324059847040752}
serializedVersion: 2
m_LocalRotation: {x: 0, y: 1, z: 0, w: 0}
m_LocalPosition: {x: 0.884, y: 0.416, z: 1.2960001}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 8015855954690769219}
m_LocalEulerAnglesHint: {x: 0, y: 180, z: 0}
--- !u!146 &4360132125171314415
WheelCollider:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 19324059847040752}
serializedVersion: 2
m_Center: {x: 0, y: 0, z: 0}
m_Radius: 0.4200084
m_SuspensionSpring:
spring: 35000
damper: 1500
targetPosition: 1
m_SuspensionDistance: 0.25
m_ForceAppPointDistance: 0
m_Mass: 80
m_WheelDampingRate: 0.01
m_ForwardFriction:
m_ExtremumSlip: 0.4
m_ExtremumValue: 1
m_AsymptoteSlip: 0.8
m_AsymptoteValue: 0.5
m_Stiffness: 1
m_SidewaysFriction:
m_ExtremumSlip: 0.2
m_ExtremumValue: 1
m_AsymptoteSlip: 0.5
m_AsymptoteValue: 0.75
m_Stiffness: 1
m_IncludeLayers:
serializedVersion: 2
m_Bits: 0
m_ExcludeLayers:
serializedVersion: 2
m_Bits: 0
m_LayerOverridePriority: 0
m_Enabled: 1
m_ProvidesContacts: 0
--- !u!114 &3926494793098572642
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 19324059847040752}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 9901c050a200da94bbc65da2891b7708, type: 3}
m_Name:
m_EditorClassIdentifier:
wheelModel: {fileID: 1762982960589182325}
WheelCollider: {fileID: 0}
steerable: 1
motorized: 0
--- !u!1 &19503939086000075
GameObject:
m_ObjectHideFlags: 0
@@ -6426,65 +6338,6 @@ BoxCollider:
serializedVersion: 3
m_Size: {x: 1, y: 1, z: 1}
m_Center: {x: 0, y: 0, z: 0}
--- !u!1 &524899082033163441
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 286636540178599019}
- component: {fileID: 7345493810674594264}
m_Layer: 0
m_Name: RaysBackward
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &286636540178599019
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 524899082033163441}
serializedVersion: 2
m_LocalRotation: {x: 0, y: 1, z: 0, w: 0}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 811072251532830346}
m_LocalEulerAnglesHint: {x: 0, y: 180, z: 0}
--- !u!114 &7345493810674594264
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 524899082033163441}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 6bb6b867a41448888c1cd4f99643ad71, type: 3}
m_Name:
m_EditorClassIdentifier:
m_SensorName: RaysBackward
m_DetectableTags:
- Wall
m_RaysPerDirection: 0
m_MaxRayDegrees: 70
m_SphereCastRadius: 0
m_RayLength: 10
m_RayLayerMask:
serializedVersion: 2
m_Bits: 4294967291
m_ObservationStacks: 1
rayHitColor: {r: 1, g: 0, b: 0, a: 1}
rayMissColor: {r: 1, g: 1, b: 1, a: 1}
m_StartVerticalOffset: 0.25
m_EndVerticalOffset: 0.25
--- !u!1 &532169598183606751
GameObject:
m_ObjectHideFlags: 0
@@ -44647,7 +44500,6 @@ Transform:
- {fileID: 5272526066399635694}
- {fileID: 8050808720014460620}
- {fileID: 669320890512966241}
- {fileID: 811072251532830346}
m_Father: {fileID: 0}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1 &3271858214066464980
@@ -46131,111 +45983,6 @@ Transform:
- {fileID: 4520339956573190458}
m_Father: {fileID: 6587156919940427850}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1 &3368125400156357122
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 6712515736243903587}
- component: {fileID: 2996179124920224872}
- component: {fileID: 5198236179017613216}
- component: {fileID: 7060641419060609901}
m_Layer: 0
m_Name: CameraBall
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 0
--- !u!4 &6712515736243903587
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 3368125400156357122}
serializedVersion: 2
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 15, y: 15, z: 15}
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 811072251532830346}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!33 &2996179124920224872
MeshFilter:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 3368125400156357122}
m_Mesh: {fileID: 10207, guid: 0000000000000000e000000000000000, type: 0}
--- !u!23 &5198236179017613216
MeshRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 3368125400156357122}
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: 41c5a4f3f73f58c48a21d723635a3f63, 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!135 &7060641419060609901
SphereCollider:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 3368125400156357122}
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: 0
serializedVersion: 3
m_Radius: 0.5
m_Center: {x: 0, y: 0, z: 0}
--- !u!1 &3376777244890321484
GameObject:
m_ObjectHideFlags: 0
@@ -66147,94 +65894,6 @@ BoxCollider:
serializedVersion: 3
m_Size: {x: 1, y: 1, z: 1}
m_Center: {x: 0, y: 0, z: 0}
--- !u!1 &4849686196830271476
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 6586966933334225377}
- component: {fileID: 9159409771965582312}
- component: {fileID: 2729748230380667049}
m_Layer: 0
m_Name: Wheel_BL_Collider
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &6586966933334225377
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 4849686196830271476}
serializedVersion: 2
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: -0.886, y: 0.416, z: -1.295}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 8015855954690769219}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!114 &9159409771965582312
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 4849686196830271476}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 9901c050a200da94bbc65da2891b7708, type: 3}
m_Name:
m_EditorClassIdentifier:
wheelModel: {fileID: 8835851341600165855}
WheelCollider: {fileID: 0}
steerable: 0
motorized: 1
--- !u!146 &2729748230380667049
WheelCollider:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 4849686196830271476}
serializedVersion: 2
m_Center: {x: 0, y: 0, z: 0}
m_Radius: 0.4200084
m_SuspensionSpring:
spring: 35000
damper: 1500
targetPosition: 1
m_SuspensionDistance: 0.25
m_ForceAppPointDistance: 0
m_Mass: 80
m_WheelDampingRate: 0.01
m_ForwardFriction:
m_ExtremumSlip: 0.4
m_ExtremumValue: 1
m_AsymptoteSlip: 0.8
m_AsymptoteValue: 0.5
m_Stiffness: 2
m_SidewaysFriction:
m_ExtremumSlip: 0.2
m_ExtremumValue: 1
m_AsymptoteSlip: 0.5
m_AsymptoteValue: 0.75
m_Stiffness: 2
m_IncludeLayers:
serializedVersion: 2
m_Bits: 0
m_ExcludeLayers:
serializedVersion: 2
m_Bits: 0
m_LayerOverridePriority: 0
m_Enabled: 1
m_ProvidesContacts: 0
--- !u!1 &4852698656218069261
GameObject:
m_ObjectHideFlags: 0
@@ -82783,7 +82442,7 @@ Transform:
m_GameObject: {fileID: 5924237348501210986}
serializedVersion: 2
m_LocalRotation: {x: 0, y: 0.7071068, z: 0, w: 0.7071068}
m_LocalPosition: {x: 60, y: 0, z: 16.5}
m_LocalPosition: {x: 60, y: 0, z: 15.4}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children:
@@ -82842,7 +82501,7 @@ MonoBehaviour:
VectorActionDescriptions: []
VectorActionSpaceType: 0
hasUpgradedBrainParametersWithActionSpec: 1
m_Model: {fileID: 0}
m_Model: {fileID: 5022602860645237092, guid: f2cb18df5dfc76442a641e5bc025fdb4, type: 3}
m_InferenceDevice: 0
m_BehaviorType: 0
m_BehaviorName: BensonV7
@@ -82889,6 +82548,7 @@ MonoBehaviour:
- {fileID: 8641079920611594616}
- {fileID: 5727171840460254547}
- {fileID: 1636518998004069276}
rb: {fileID: 6190223133177787876}
maxStepsPerCheckpoint: 400
distanceBetweenCheckpoints: 20
ignoreMentalPain: 1
@@ -87482,94 +87142,6 @@ Transform:
- {fileID: 4601600967911689585}
m_Father: {fileID: 1983167099476911602}
m_LocalEulerAnglesHint: {x: 0, y: 81, z: 0}
--- !u!1 &6182179873422828055
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 5149922943725866127}
- component: {fileID: 5203621633120163333}
- component: {fileID: 3299324239199789736}
m_Layer: 0
m_Name: Wheel_FL_Collider
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &5149922943725866127
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 6182179873422828055}
serializedVersion: 2
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: -0.886, y: 0.416, z: 1.299}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 8015855954690769219}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!146 &5203621633120163333
WheelCollider:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 6182179873422828055}
serializedVersion: 2
m_Center: {x: 0, y: 0, z: 0}
m_Radius: 0.4200084
m_SuspensionSpring:
spring: 35000
damper: 1500
targetPosition: 1
m_SuspensionDistance: 0.25
m_ForceAppPointDistance: 0
m_Mass: 80
m_WheelDampingRate: 0.01
m_ForwardFriction:
m_ExtremumSlip: 0.4
m_ExtremumValue: 1
m_AsymptoteSlip: 0.8
m_AsymptoteValue: 0.5
m_Stiffness: 1
m_SidewaysFriction:
m_ExtremumSlip: 0.2
m_ExtremumValue: 1
m_AsymptoteSlip: 0.5
m_AsymptoteValue: 0.75
m_Stiffness: 1
m_IncludeLayers:
serializedVersion: 2
m_Bits: 0
m_ExcludeLayers:
serializedVersion: 2
m_Bits: 0
m_LayerOverridePriority: 0
m_Enabled: 1
m_ProvidesContacts: 0
--- !u!114 &3299324239199789736
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 6182179873422828055}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 9901c050a200da94bbc65da2891b7708, type: 3}
m_Name:
m_EditorClassIdentifier:
wheelModel: {fileID: 2906230884335602891}
WheelCollider: {fileID: 0}
steerable: 1
motorized: 0
--- !u!1 &6186999495906928442
GameObject:
m_ObjectHideFlags: 0
@@ -102251,66 +101823,6 @@ BoxCollider:
serializedVersion: 3
m_Size: {x: 1, y: 1, z: 1}
m_Center: {x: 0, y: 0, z: 0}
--- !u!1 &7148237758847387431
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 6927476631219814344}
- component: {fileID: 1099552273151508743}
m_Layer: 0
m_Name: RaysForward
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &6927476631219814344
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 7148237758847387431}
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: []
m_Father: {fileID: 811072251532830346}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!114 &1099552273151508743
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 7148237758847387431}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 6bb6b867a41448888c1cd4f99643ad71, type: 3}
m_Name:
m_EditorClassIdentifier:
m_SensorName: RaysForward
m_DetectableTags:
- Wall
- Player
m_RaysPerDirection: 1
m_MaxRayDegrees: 30
m_SphereCastRadius: 0
m_RayLength: 10
m_RayLayerMask:
serializedVersion: 2
m_Bits: 4294967291
m_ObservationStacks: 1
rayHitColor: {r: 1, g: 0, b: 0, a: 1}
rayMissColor: {r: 1, g: 1, b: 1, a: 1}
m_StartVerticalOffset: 0.2
m_EndVerticalOffset: 0.2
--- !u!1 &7149040026352377224
GameObject:
m_ObjectHideFlags: 0
@@ -106509,94 +106021,6 @@ BoxCollider:
serializedVersion: 3
m_Size: {x: 1, y: 1, z: 1}
m_Center: {x: 0, y: 0, z: 0}
--- !u!1 &7460147092643286034
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 6944853339611272700}
- component: {fileID: 9064471612782293328}
- component: {fileID: 1482614509474914705}
m_Layer: 0
m_Name: Wheel_BR_Collider
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &6944853339611272700
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 7460147092643286034}
serializedVersion: 2
m_LocalRotation: {x: 0, y: 1, z: 0, w: 0}
m_LocalPosition: {x: 0.884, y: 0.416, z: -1.295}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 8015855954690769219}
m_LocalEulerAnglesHint: {x: 0, y: 180, z: 0}
--- !u!114 &9064471612782293328
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 7460147092643286034}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 9901c050a200da94bbc65da2891b7708, type: 3}
m_Name:
m_EditorClassIdentifier:
wheelModel: {fileID: 6399560802528283858}
WheelCollider: {fileID: 0}
steerable: 0
motorized: 1
--- !u!146 &1482614509474914705
WheelCollider:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 7460147092643286034}
serializedVersion: 2
m_Center: {x: 0, y: 0, z: 0}
m_Radius: 0.4200084
m_SuspensionSpring:
spring: 35000
damper: 1500
targetPosition: 1
m_SuspensionDistance: 0.25
m_ForceAppPointDistance: 0
m_Mass: 80
m_WheelDampingRate: 0.01
m_ForwardFriction:
m_ExtremumSlip: 0.4
m_ExtremumValue: 1
m_AsymptoteSlip: 0.8
m_AsymptoteValue: 0.5
m_Stiffness: 2
m_SidewaysFriction:
m_ExtremumSlip: 0.2
m_ExtremumValue: 1
m_AsymptoteSlip: 0.5
m_AsymptoteValue: 0.75
m_Stiffness: 2
m_IncludeLayers:
serializedVersion: 2
m_Bits: 0
m_ExcludeLayers:
serializedVersion: 2
m_Bits: 0
m_LayerOverridePriority: 0
m_Enabled: 1
m_ProvidesContacts: 0
--- !u!1 &7465215739361919974
GameObject:
m_ObjectHideFlags: 0
@@ -110813,158 +110237,6 @@ Transform:
- {fileID: 1766752154604135311}
m_Father: {fileID: 4729473298220754671}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1 &7731367257554452135
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 811072251532830346}
- component: {fileID: 7970438787012665322}
- component: {fileID: 8947279914484750484}
- component: {fileID: 8876695164119320187}
- component: {fileID: 3472333831876593363}
m_Layer: 0
m_Name: Agent 2
m_TagString: Player
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &811072251532830346
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 7731367257554452135}
serializedVersion: 2
m_LocalRotation: {x: 0, y: 0.7071068, z: 0, w: 0.7071068}
m_LocalPosition: {x: 60, y: 0, z: 13.38}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children:
- {fileID: 8015855954690769219}
- {fileID: 6712515736243903587}
- {fileID: 6927476631219814344}
- {fileID: 286636540178599019}
m_Father: {fileID: 4227005872949832095}
m_LocalEulerAnglesHint: {x: 0, y: 90, z: 0}
--- !u!54 &7970438787012665322
Rigidbody:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 7731367257554452135}
serializedVersion: 4
m_Mass: 1500
m_Drag: 0.1
m_AngularDrag: 0
m_CenterOfMass: {x: 0, y: 0, z: 0}
m_InertiaTensor: {x: 1, y: 1, z: 1}
m_InertiaRotation: {x: 0, y: 0, z: 0, w: 1}
m_IncludeLayers:
serializedVersion: 2
m_Bits: 0
m_ExcludeLayers:
serializedVersion: 2
m_Bits: 0
m_ImplicitCom: 0
m_ImplicitTensor: 1
m_UseGravity: 1
m_IsKinematic: 0
m_Interpolate: 0
m_Constraints: 0
m_CollisionDetection: 1
--- !u!114 &8947279914484750484
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 7731367257554452135}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 5d1c4e0b1822b495aa52bc52839ecb30, type: 3}
m_Name:
m_EditorClassIdentifier:
m_BrainParameters:
VectorObservationSize: 6
NumStackedVectorObservations: 1
m_ActionSpec:
m_NumContinuousActions: 0
BranchSizes: 0300000003000000
VectorActionSize: 0300000003000000
VectorActionDescriptions: []
VectorActionSpaceType: 0
hasUpgradedBrainParametersWithActionSpec: 1
m_Model: {fileID: 0}
m_InferenceDevice: 0
m_BehaviorType: 0
m_BehaviorName: BensonV7
TeamId: 1
m_UseChildSensors: 1
m_UseChildActuators: 1
m_ObservableAttributeHandling: 0
--- !u!114 &8876695164119320187
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 7731367257554452135}
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: 300
brakeTorque: 500
maxSpeed: 400
steeringRange: 9
steeringRangeAtMaxSpeed: 7
autoBrake: 100
checkpoints:
- {fileID: 5830448287457758450}
- {fileID: 7082825352587088770}
- {fileID: 8169089460403376296}
- {fileID: 5528778913934726799}
- {fileID: 8172919370040771632}
- {fileID: 4412814339949804541}
- {fileID: 6678236931850382722}
- {fileID: 6013697912145739547}
- {fileID: 8678455366455945125}
- {fileID: 5030603715371538003}
- {fileID: 2957074223118977701}
- {fileID: 2397895580845716638}
- {fileID: 3552663997537644035}
- {fileID: 8641079920611594616}
- {fileID: 5727171840460254547}
- {fileID: 1636518998004069276}
maxStepsPerCheckpoint: 400
distanceBetweenCheckpoints: 20
ignoreMentalPain: 1
--- !u!114 &3472333831876593363
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 7731367257554452135}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 3a5c9d521e5ef4759a8246a07d52221e, type: 3}
m_Name:
m_EditorClassIdentifier:
DecisionPeriod: 5
TakeActionsBetweenDecisions: 1
--- !u!1 &7732720017000602711
GameObject:
m_ObjectHideFlags: 0
@@ -126763,6 +126035,7 @@ MonoBehaviour:
m_SensorName: RaysBackward
m_DetectableTags:
- Wall
- Player
m_RaysPerDirection: 0
m_MaxRayDegrees: 70
m_SphereCastRadius: 0
@@ -134497,145 +133770,6 @@ Transform:
m_CorrespondingSourceObject: {fileID: 1288577159706020061, guid: a5cc261231f5a6a4c88239b1dab368cb, type: 3}
m_PrefabInstance: {fileID: 6438525165508106935}
m_PrefabAsset: {fileID: 0}
--- !u!1001 &7592857475091402810
PrefabInstance:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Modification:
serializedVersion: 3
m_TransformParent: {fileID: 811072251532830346}
m_Modifications:
- target: {fileID: 459707049714192761, guid: a34d17982603e394b85abe66729deb02, type: 3}
propertyPath: m_LocalScale.x
value: 0.25
objectReference: {fileID: 0}
- target: {fileID: 459707049714192761, guid: a34d17982603e394b85abe66729deb02, type: 3}
propertyPath: m_LocalScale.y
value: 0.25
objectReference: {fileID: 0}
- target: {fileID: 459707049714192761, guid: a34d17982603e394b85abe66729deb02, type: 3}
propertyPath: m_LocalScale.z
value: 0.25
objectReference: {fileID: 0}
- target: {fileID: 459707049714192761, guid: a34d17982603e394b85abe66729deb02, type: 3}
propertyPath: m_LocalPosition.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 459707049714192761, guid: a34d17982603e394b85abe66729deb02, type: 3}
propertyPath: m_LocalPosition.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 459707049714192761, guid: a34d17982603e394b85abe66729deb02, type: 3}
propertyPath: m_LocalPosition.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 459707049714192761, guid: a34d17982603e394b85abe66729deb02, type: 3}
propertyPath: m_LocalRotation.w
value: 1
objectReference: {fileID: 0}
- target: {fileID: 459707049714192761, guid: a34d17982603e394b85abe66729deb02, type: 3}
propertyPath: m_LocalRotation.x
value: -0
objectReference: {fileID: 0}
- target: {fileID: 459707049714192761, guid: a34d17982603e394b85abe66729deb02, type: 3}
propertyPath: m_LocalRotation.y
value: -0
objectReference: {fileID: 0}
- target: {fileID: 459707049714192761, guid: a34d17982603e394b85abe66729deb02, type: 3}
propertyPath: m_LocalRotation.z
value: -0
objectReference: {fileID: 0}
- target: {fileID: 459707049714192761, guid: a34d17982603e394b85abe66729deb02, type: 3}
propertyPath: m_LocalEulerAnglesHint.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 459707049714192761, guid: a34d17982603e394b85abe66729deb02, type: 3}
propertyPath: m_LocalEulerAnglesHint.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 459707049714192761, guid: a34d17982603e394b85abe66729deb02, type: 3}
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 892975331452299942, guid: a34d17982603e394b85abe66729deb02, type: 3}
propertyPath: m_Name
value: Bolide
objectReference: {fileID: 0}
- target: {fileID: 8197544783364443354, guid: a34d17982603e394b85abe66729deb02, type: 3}
propertyPath: m_TagString
value: Player
objectReference: {fileID: 0}
m_RemovedComponents: []
m_RemovedGameObjects: []
m_AddedGameObjects:
- targetCorrespondingSourceObject: {fileID: 459707049714192761, guid: a34d17982603e394b85abe66729deb02, type: 3}
insertIndex: -1
addedObject: {fileID: 6318546006281194676}
- targetCorrespondingSourceObject: {fileID: 459707049714192761, guid: a34d17982603e394b85abe66729deb02, type: 3}
insertIndex: -1
addedObject: {fileID: 5149922943725866127}
- targetCorrespondingSourceObject: {fileID: 459707049714192761, guid: a34d17982603e394b85abe66729deb02, type: 3}
insertIndex: -1
addedObject: {fileID: 6586966933334225377}
- targetCorrespondingSourceObject: {fileID: 459707049714192761, guid: a34d17982603e394b85abe66729deb02, type: 3}
insertIndex: -1
addedObject: {fileID: 6944853339611272700}
m_AddedComponents:
- targetCorrespondingSourceObject: {fileID: 8197544783364443354, guid: a34d17982603e394b85abe66729deb02, type: 3}
insertIndex: -1
addedObject: {fileID: 6374788994801216621}
m_SourcePrefab: {fileID: 100100000, guid: a34d17982603e394b85abe66729deb02, type: 3}
--- !u!4 &1762982960589182325 stripped
Transform:
m_CorrespondingSourceObject: {fileID: 8153872731855783247, guid: a34d17982603e394b85abe66729deb02, type: 3}
m_PrefabInstance: {fileID: 7592857475091402810}
m_PrefabAsset: {fileID: 0}
--- !u!1 &1773494840889531616 stripped
GameObject:
m_CorrespondingSourceObject: {fileID: 8197544783364443354, guid: a34d17982603e394b85abe66729deb02, type: 3}
m_PrefabInstance: {fileID: 7592857475091402810}
m_PrefabAsset: {fileID: 0}
--- !u!65 &6374788994801216621
BoxCollider:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1773494840889531616}
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: 1
m_Enabled: 1
serializedVersion: 3
m_Size: {x: 2.0421307, y: 1.5047604, z: 4.305852}
m_Center: {x: 0, y: 0.81503993, z: 0.21946335}
--- !u!4 &2906230884335602891 stripped
Transform:
m_CorrespondingSourceObject: {fileID: 4686626748596083953, guid: a34d17982603e394b85abe66729deb02, type: 3}
m_PrefabInstance: {fileID: 7592857475091402810}
m_PrefabAsset: {fileID: 0}
--- !u!4 &6399560802528283858 stripped
Transform:
m_CorrespondingSourceObject: {fileID: 3571619494755851496, guid: a34d17982603e394b85abe66729deb02, type: 3}
m_PrefabInstance: {fileID: 7592857475091402810}
m_PrefabAsset: {fileID: 0}
--- !u!4 &8015855954690769219 stripped
Transform:
m_CorrespondingSourceObject: {fileID: 459707049714192761, guid: a34d17982603e394b85abe66729deb02, type: 3}
m_PrefabInstance: {fileID: 7592857475091402810}
m_PrefabAsset: {fileID: 0}
--- !u!4 &8835851341600165855 stripped
Transform:
m_CorrespondingSourceObject: {fileID: 1423137885988757477, guid: a34d17982603e394b85abe66729deb02, type: 3}
m_PrefabInstance: {fileID: 7592857475091402810}
m_PrefabAsset: {fileID: 0}
--- !u!1001 &8273498026505851606
PrefabInstance:
m_ObjectHideFlags: 0

View File

@@ -123,6 +123,56 @@ NavMeshSettings:
debug:
m_Flags: 0
m_NavMeshData: {fileID: 0}
--- !u!1 &103708493 stripped
GameObject:
m_CorrespondingSourceObject: {fileID: 5030603715371538003, guid: 742a3192b43bde644ad6d9a3cc58e51d, type: 3}
m_PrefabInstance: {fileID: 6252589905828622408}
m_PrefabAsset: {fileID: 0}
--- !u!1 &178102522 stripped
GameObject:
m_CorrespondingSourceObject: {fileID: 8169089460403376296, guid: 742a3192b43bde644ad6d9a3cc58e51d, type: 3}
m_PrefabInstance: {fileID: 6252589905828622408}
m_PrefabAsset: {fileID: 0}
--- !u!1 &210575807 stripped
GameObject:
m_CorrespondingSourceObject: {fileID: 5727171840460254547, guid: 742a3192b43bde644ad6d9a3cc58e51d, type: 3}
m_PrefabInstance: {fileID: 6252589905828622408}
m_PrefabAsset: {fileID: 0}
--- !u!1 &227824999 stripped
GameObject:
m_CorrespondingSourceObject: {fileID: 5830448287457758450, guid: 742a3192b43bde644ad6d9a3cc58e51d, type: 3}
m_PrefabInstance: {fileID: 6252589905828622408}
m_PrefabAsset: {fileID: 0}
--- !u!1 &278187136 stripped
GameObject:
m_CorrespondingSourceObject: {fileID: 8678455366455945125, guid: 742a3192b43bde644ad6d9a3cc58e51d, type: 3}
m_PrefabInstance: {fileID: 6252589905828622408}
m_PrefabAsset: {fileID: 0}
--- !u!1 &317218344 stripped
GameObject:
m_CorrespondingSourceObject: {fileID: 8641079920611594616, guid: 742a3192b43bde644ad6d9a3cc58e51d, type: 3}
m_PrefabInstance: {fileID: 6252589905828622408}
m_PrefabAsset: {fileID: 0}
--- !u!1 &427392145 stripped
GameObject:
m_CorrespondingSourceObject: {fileID: 7082825352587088770, guid: 742a3192b43bde644ad6d9a3cc58e51d, type: 3}
m_PrefabInstance: {fileID: 6252589905828622408}
m_PrefabAsset: {fileID: 0}
--- !u!1 &476123930 stripped
GameObject:
m_CorrespondingSourceObject: {fileID: 8172919370040771632, guid: 742a3192b43bde644ad6d9a3cc58e51d, type: 3}
m_PrefabInstance: {fileID: 6252589905828622408}
m_PrefabAsset: {fileID: 0}
--- !u!1 &607411352 stripped
GameObject:
m_CorrespondingSourceObject: {fileID: 1636518998004069276, guid: 742a3192b43bde644ad6d9a3cc58e51d, type: 3}
m_PrefabInstance: {fileID: 6252589905828622408}
m_PrefabAsset: {fileID: 0}
--- !u!1 &715598338 stripped
GameObject:
m_CorrespondingSourceObject: {fileID: 4412814339949804541, guid: 742a3192b43bde644ad6d9a3cc58e51d, type: 3}
m_PrefabInstance: {fileID: 6252589905828622408}
m_PrefabAsset: {fileID: 0}
--- !u!1 &765367128
GameObject:
m_ObjectHideFlags: 0
@@ -215,6 +265,21 @@ Transform:
m_Children: []
m_Father: {fileID: 0}
m_LocalEulerAnglesHint: {x: 90, y: 0, z: 0}
--- !u!1 &848944158 stripped
GameObject:
m_CorrespondingSourceObject: {fileID: 6013697912145739547, guid: 742a3192b43bde644ad6d9a3cc58e51d, type: 3}
m_PrefabInstance: {fileID: 6252589905828622408}
m_PrefabAsset: {fileID: 0}
--- !u!1 &855778721 stripped
GameObject:
m_CorrespondingSourceObject: {fileID: 2397895580845716638, guid: 742a3192b43bde644ad6d9a3cc58e51d, type: 3}
m_PrefabInstance: {fileID: 6252589905828622408}
m_PrefabAsset: {fileID: 0}
--- !u!1 &894729999 stripped
GameObject:
m_CorrespondingSourceObject: {fileID: 3552663997537644035, guid: 742a3192b43bde644ad6d9a3cc58e51d, type: 3}
m_PrefabInstance: {fileID: 6252589905828622408}
m_PrefabAsset: {fileID: 0}
--- !u!1001 &915493271
PrefabInstance:
m_ObjectHideFlags: 0
@@ -338,11 +403,11 @@ PrefabInstance:
- target: {fileID: 8858152487650577344, guid: 80c5f8bcfe7e033419638b39d9a278c4, type: 3}
propertyPath: m_Follow
value:
objectReference: {fileID: 9205615185541695678}
objectReference: {fileID: 2044907143}
- target: {fileID: 8858152487650577344, guid: 80c5f8bcfe7e033419638b39d9a278c4, type: 3}
propertyPath: m_LookAt
value:
objectReference: {fileID: 9205615185541695678}
objectReference: {fileID: 2044907143}
- target: {fileID: 8890610309520933432, guid: 80c5f8bcfe7e033419638b39d9a278c4, type: 3}
propertyPath: m_LocalPosition.x
value: 61.01581
@@ -653,6 +718,11 @@ Transform:
m_CorrespondingSourceObject: {fileID: 5420764024659664985, guid: 5851f609a58dc884a99030da0105c6db, type: 3}
m_PrefabInstance: {fileID: 1175324936}
m_PrefabAsset: {fileID: 0}
--- !u!1 &1458010791 stripped
GameObject:
m_CorrespondingSourceObject: {fileID: 2957074223118977701, guid: 742a3192b43bde644ad6d9a3cc58e51d, type: 3}
m_PrefabInstance: {fileID: 6252589905828622408}
m_PrefabAsset: {fileID: 0}
--- !u!1001 &1574695326
PrefabInstance:
m_ObjectHideFlags: 0
@@ -822,6 +892,16 @@ PrefabInstance:
insertIndex: -1
addedObject: {fileID: 2015283370}
m_SourcePrefab: {fileID: 100100000, guid: 80c5f8bcfe7e033419638b39d9a278c4, type: 3}
--- !u!1 &1606859432 stripped
GameObject:
m_CorrespondingSourceObject: {fileID: 6678236931850382722, guid: 742a3192b43bde644ad6d9a3cc58e51d, type: 3}
m_PrefabInstance: {fileID: 6252589905828622408}
m_PrefabAsset: {fileID: 0}
--- !u!1 &1617184164 stripped
GameObject:
m_CorrespondingSourceObject: {fileID: 5528778913934726799, guid: 742a3192b43bde644ad6d9a3cc58e51d, type: 3}
m_PrefabInstance: {fileID: 6252589905828622408}
m_PrefabAsset: {fileID: 0}
--- !u!1 &2015283366 stripped
GameObject:
m_CorrespondingSourceObject: {fileID: 4840733166066636179, guid: 80c5f8bcfe7e033419638b39d9a278c4, type: 3}
@@ -839,6 +919,173 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: 1e8b78ac948f05a46a6d8339a503172b, type: 3}
m_Name:
m_EditorClassIdentifier:
--- !u!1001 &2044907142
PrefabInstance:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Modification:
serializedVersion: 3
m_TransformParent: {fileID: 8937521961699982461}
m_Modifications:
- target: {fileID: 3239213433477781764, guid: 5851f609a58dc884a99030da0105c6db, type: 3}
propertyPath: m_CenterOfMass.y
value: 0.05
objectReference: {fileID: 0}
- target: {fileID: 5420764024659664985, guid: 5851f609a58dc884a99030da0105c6db, type: 3}
propertyPath: m_LocalPosition.x
value: 60
objectReference: {fileID: 0}
- target: {fileID: 5420764024659664985, guid: 5851f609a58dc884a99030da0105c6db, type: 3}
propertyPath: m_LocalPosition.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 5420764024659664985, guid: 5851f609a58dc884a99030da0105c6db, type: 3}
propertyPath: m_LocalPosition.z
value: 15.4
objectReference: {fileID: 0}
- target: {fileID: 5420764024659664985, guid: 5851f609a58dc884a99030da0105c6db, type: 3}
propertyPath: m_LocalRotation.w
value: 0.7071068
objectReference: {fileID: 0}
- target: {fileID: 5420764024659664985, guid: 5851f609a58dc884a99030da0105c6db, type: 3}
propertyPath: m_LocalRotation.x
value: -0
objectReference: {fileID: 0}
- target: {fileID: 5420764024659664985, guid: 5851f609a58dc884a99030da0105c6db, type: 3}
propertyPath: m_LocalRotation.y
value: 0.7071068
objectReference: {fileID: 0}
- target: {fileID: 5420764024659664985, guid: 5851f609a58dc884a99030da0105c6db, type: 3}
propertyPath: m_LocalRotation.z
value: -0
objectReference: {fileID: 0}
- target: {fileID: 5420764024659664985, guid: 5851f609a58dc884a99030da0105c6db, type: 3}
propertyPath: m_LocalEulerAnglesHint.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 5420764024659664985, guid: 5851f609a58dc884a99030da0105c6db, type: 3}
propertyPath: m_LocalEulerAnglesHint.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 5420764024659664985, guid: 5851f609a58dc884a99030da0105c6db, type: 3}
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 5711380006811689493, guid: 5851f609a58dc884a99030da0105c6db, type: 3}
propertyPath: m_Name
value: Hotrod (Benson)
objectReference: {fileID: 0}
m_RemovedComponents:
- {fileID: 5418785709807611868, guid: 5851f609a58dc884a99030da0105c6db, type: 3}
m_RemovedGameObjects: []
m_AddedGameObjects: []
m_AddedComponents:
- targetCorrespondingSourceObject: {fileID: 5711380006811689493, guid: 5851f609a58dc884a99030da0105c6db, type: 3}
insertIndex: -1
addedObject: {fileID: 2044907147}
- targetCorrespondingSourceObject: {fileID: 5711380006811689493, guid: 5851f609a58dc884a99030da0105c6db, type: 3}
insertIndex: -1
addedObject: {fileID: 2044907146}
- targetCorrespondingSourceObject: {fileID: 5711380006811689493, guid: 5851f609a58dc884a99030da0105c6db, type: 3}
insertIndex: -1
addedObject: {fileID: 2044907145}
m_SourcePrefab: {fileID: 100100000, guid: 5851f609a58dc884a99030da0105c6db, type: 3}
--- !u!4 &2044907143 stripped
Transform:
m_CorrespondingSourceObject: {fileID: 5420764024659664985, guid: 5851f609a58dc884a99030da0105c6db, type: 3}
m_PrefabInstance: {fileID: 2044907142}
m_PrefabAsset: {fileID: 0}
--- !u!1 &2044907144 stripped
GameObject:
m_CorrespondingSourceObject: {fileID: 5711380006811689493, guid: 5851f609a58dc884a99030da0105c6db, type: 3}
m_PrefabInstance: {fileID: 2044907142}
m_PrefabAsset: {fileID: 0}
--- !u!114 &2044907145
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 2044907144}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 3a5c9d521e5ef4759a8246a07d52221e, type: 3}
m_Name:
m_EditorClassIdentifier:
DecisionPeriod: 5
TakeActionsBetweenDecisions: 1
--- !u!114 &2044907146
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 2044907144}
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: 300
brakeTorque: 500
maxSpeed: 400
steeringRange: 9
steeringRangeAtMaxSpeed: 7
autoBrake: 100
checkpoints:
- {fileID: 227824999}
- {fileID: 427392145}
- {fileID: 178102522}
- {fileID: 1617184164}
- {fileID: 476123930}
- {fileID: 715598338}
- {fileID: 1606859432}
- {fileID: 848944158}
- {fileID: 278187136}
- {fileID: 103708493}
- {fileID: 1458010791}
- {fileID: 855778721}
- {fileID: 894729999}
- {fileID: 317218344}
- {fileID: 210575807}
- {fileID: 607411352}
maxStepsPerCheckpoint: 400
distanceBetweenCheckpoints: 20
ignoreMentalPain: 1
--- !u!114 &2044907147
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 2044907144}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 5d1c4e0b1822b495aa52bc52839ecb30, type: 3}
m_Name:
m_EditorClassIdentifier:
m_BrainParameters:
VectorObservationSize: 6
NumStackedVectorObservations: 1
m_ActionSpec:
m_NumContinuousActions: 0
BranchSizes: 0300000003000000
VectorActionSize: 0300000003000000
VectorActionDescriptions: []
VectorActionSpaceType: 0
hasUpgradedBrainParametersWithActionSpec: 1
m_Model: {fileID: 0}
m_InferenceDevice: 0
m_BehaviorType: 0
m_BehaviorName: BensonV7
TeamId: 0
m_UseChildSensors: 1
m_UseChildActuators: 1
m_ObservableAttributeHandling: 0
--- !u!1001 &6252589905828622408
PrefabInstance:
m_ObjectHideFlags: 0
@@ -847,25 +1094,9 @@ PrefabInstance:
serializedVersion: 3
m_TransformParent: {fileID: 0}
m_Modifications:
- target: {fileID: 669320890512966241, guid: 742a3192b43bde644ad6d9a3cc58e51d, type: 3}
propertyPath: m_LocalPosition.z
value: 15.4
objectReference: {fileID: 0}
- target: {fileID: 811072251532830346, guid: 742a3192b43bde644ad6d9a3cc58e51d, type: 3}
propertyPath: m_LocalPosition.x
value: 60.24
objectReference: {fileID: 0}
- target: {fileID: 811072251532830346, guid: 742a3192b43bde644ad6d9a3cc58e51d, type: 3}
propertyPath: m_LocalPosition.z
value: 12.62
objectReference: {fileID: 0}
- target: {fileID: 935668792717124001, guid: 742a3192b43bde644ad6d9a3cc58e51d, type: 3}
propertyPath: m_DetectableTags.Array.size
value: 2
objectReference: {fileID: 0}
- target: {fileID: 935668792717124001, guid: 742a3192b43bde644ad6d9a3cc58e51d, type: 3}
propertyPath: m_DetectableTags.Array.data[1]
value: Player
- target: {fileID: 3015419005265028049, guid: 742a3192b43bde644ad6d9a3cc58e51d, type: 3}
propertyPath: rb
value:
objectReference: {fileID: 0}
- target: {fileID: 3270422749366732980, guid: 742a3192b43bde644ad6d9a3cc58e51d, type: 3}
propertyPath: m_Name
@@ -874,7 +1105,7 @@ PrefabInstance:
- target: {fileID: 3730743043978725915, guid: 742a3192b43bde644ad6d9a3cc58e51d, type: 3}
propertyPath: m_Model
value:
objectReference: {fileID: 5022602860645237092, guid: f2cb18df5dfc76442a641e5bc025fdb4, type: 3}
objectReference: {fileID: 0}
- target: {fileID: 4227005872949832095, guid: 742a3192b43bde644ad6d9a3cc58e51d, type: 3}
propertyPath: m_LocalPosition.x
value: 0
@@ -915,15 +1146,22 @@ PrefabInstance:
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
m_RemovedComponents: []
m_RemovedComponents:
- {fileID: 6190223133177787876, guid: 742a3192b43bde644ad6d9a3cc58e51d, type: 3}
m_RemovedGameObjects:
- {fileID: 7731367257554452135, guid: 742a3192b43bde644ad6d9a3cc58e51d, type: 3}
m_AddedGameObjects: []
- {fileID: 155968078610701315, guid: 742a3192b43bde644ad6d9a3cc58e51d, type: 3}
- {fileID: 2554968466236326457, guid: 742a3192b43bde644ad6d9a3cc58e51d, type: 3}
- {fileID: 8773750685288342027, guid: 742a3192b43bde644ad6d9a3cc58e51d, type: 3}
- {fileID: 5924237348501210986, guid: 742a3192b43bde644ad6d9a3cc58e51d, type: 3}
m_AddedGameObjects:
- targetCorrespondingSourceObject: {fileID: 4227005872949832095, guid: 742a3192b43bde644ad6d9a3cc58e51d, type: 3}
insertIndex: -1
addedObject: {fileID: 2044907143}
m_AddedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: 742a3192b43bde644ad6d9a3cc58e51d, type: 3}
--- !u!4 &9205615185541695678 stripped
--- !u!4 &8937521961699982461 stripped
Transform:
m_CorrespondingSourceObject: {fileID: 669320890512966241, guid: 742a3192b43bde644ad6d9a3cc58e51d, type: 3}
m_CorrespondingSourceObject: {fileID: 4227005872949832095, guid: 742a3192b43bde644ad6d9a3cc58e51d, type: 3}
m_PrefabInstance: {fileID: 6252589905828622408}
m_PrefabAsset: {fileID: 0}
--- !u!1660057539 &9223372036854775807

View File

@@ -1160,6 +1160,7 @@ Transform:
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children:
- {fileID: 813494252}
- {fileID: 1393956057}
- {fileID: 1408062815}
- {fileID: 251171423}
@@ -1235,6 +1236,7 @@ MonoBehaviour:
- {fileID: 2100000, guid: de683385749d77b49a1cc4d8876323d8, type: 2}
- {fileID: 2100000, guid: cb13a603242ea654885b9973cf7c97c0, type: 2}
- {fileID: 2100000, guid: 290dcb9964b00e94bb0debc820182e71, type: 2}
startButton: {fileID: 1240586970}
--- !u!81 &481224848
AudioListener:
m_ObjectHideFlags: 0
@@ -1546,6 +1548,71 @@ CanvasRenderer:
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 600364070}
m_CullTransparentMesh: 1
--- !u!1001 &637686386
PrefabInstance:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Modification:
serializedVersion: 3
m_TransformParent: {fileID: 0}
m_Modifications:
- target: {fileID: 3730747174356696648, guid: dc3e6243ce610df4c845a9fa5df754a7, type: 3}
propertyPath: m_Name
value: Car Data
objectReference: {fileID: 0}
- target: {fileID: 3730747174356696648, guid: dc3e6243ce610df4c845a9fa5df754a7, type: 3}
propertyPath: m_IsActive
value: 1
objectReference: {fileID: 0}
- target: {fileID: 5081994082839948773, guid: dc3e6243ce610df4c845a9fa5df754a7, type: 3}
propertyPath: playerCar
value:
objectReference: {fileID: 1557708818}
- target: {fileID: 6654786458191517942, guid: dc3e6243ce610df4c845a9fa5df754a7, type: 3}
propertyPath: m_LocalPosition.x
value: 973.61975
objectReference: {fileID: 0}
- target: {fileID: 6654786458191517942, guid: dc3e6243ce610df4c845a9fa5df754a7, type: 3}
propertyPath: m_LocalPosition.y
value: 433.16608
objectReference: {fileID: 0}
- target: {fileID: 6654786458191517942, guid: dc3e6243ce610df4c845a9fa5df754a7, type: 3}
propertyPath: m_LocalPosition.z
value: 10.137479
objectReference: {fileID: 0}
- target: {fileID: 6654786458191517942, guid: dc3e6243ce610df4c845a9fa5df754a7, type: 3}
propertyPath: m_LocalRotation.w
value: 1
objectReference: {fileID: 0}
- target: {fileID: 6654786458191517942, guid: dc3e6243ce610df4c845a9fa5df754a7, type: 3}
propertyPath: m_LocalRotation.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 6654786458191517942, guid: dc3e6243ce610df4c845a9fa5df754a7, type: 3}
propertyPath: m_LocalRotation.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 6654786458191517942, guid: dc3e6243ce610df4c845a9fa5df754a7, type: 3}
propertyPath: m_LocalRotation.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 6654786458191517942, guid: dc3e6243ce610df4c845a9fa5df754a7, type: 3}
propertyPath: m_LocalEulerAnglesHint.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 6654786458191517942, guid: dc3e6243ce610df4c845a9fa5df754a7, type: 3}
propertyPath: m_LocalEulerAnglesHint.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 6654786458191517942, guid: dc3e6243ce610df4c845a9fa5df754a7, type: 3}
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
m_RemovedComponents: []
m_RemovedGameObjects: []
m_AddedGameObjects: []
m_AddedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: dc3e6243ce610df4c845a9fa5df754a7, type: 3}
--- !u!1001 &691379311
PrefabInstance:
m_ObjectHideFlags: 0
@@ -1947,6 +2014,37 @@ CanvasRenderer:
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 810085648}
m_CullTransparentMesh: 1
--- !u!1 &813494251
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 813494252}
m_Layer: 0
m_Name: Car Saver
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &813494252
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 813494251}
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: []
m_Father: {fileID: 481224846}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1001 &832326020
PrefabInstance:
m_ObjectHideFlags: 0
@@ -3635,6 +3733,7 @@ RectTransform:
m_Children:
- {fileID: 1232782459}
- {fileID: 1808069676}
- {fileID: 1240586969}
m_Father: {fileID: 0}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
@@ -3804,6 +3903,127 @@ CanvasRenderer:
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1233876300}
m_CullTransparentMesh: 1
--- !u!1 &1240586968
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 1240586969}
- component: {fileID: 1240586972}
- component: {fileID: 1240586971}
- component: {fileID: 1240586970}
m_Layer: 5
m_Name: Play
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &1240586969
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1240586968}
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: 1718872333}
m_Father: {fileID: 1221337729}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5}
m_AnchoredPosition: {x: 0, y: -392}
m_SizeDelta: {x: 300, y: 100}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!114 &1240586970
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1240586968}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 4e29b1a8efbd4b44bb3f3716e73f07ff, type: 3}
m_Name:
m_EditorClassIdentifier:
m_Navigation:
m_Mode: 3
m_WrapAround: 0
m_SelectOnUp: {fileID: 0}
m_SelectOnDown: {fileID: 0}
m_SelectOnLeft: {fileID: 0}
m_SelectOnRight: {fileID: 0}
m_Transition: 1
m_Colors:
m_NormalColor: {r: 1, g: 1, b: 1, a: 1}
m_HighlightedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1}
m_PressedColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 1}
m_SelectedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1}
m_DisabledColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 0.5019608}
m_ColorMultiplier: 1
m_FadeDuration: 0.1
m_SpriteState:
m_HighlightedSprite: {fileID: 0}
m_PressedSprite: {fileID: 0}
m_SelectedSprite: {fileID: 0}
m_DisabledSprite: {fileID: 0}
m_AnimationTriggers:
m_NormalTrigger: Normal
m_HighlightedTrigger: Highlighted
m_PressedTrigger: Pressed
m_SelectedTrigger: Selected
m_DisabledTrigger: Disabled
m_Interactable: 1
m_TargetGraphic: {fileID: 1240586971}
m_OnClick:
m_PersistentCalls:
m_Calls: []
--- !u!114 &1240586971
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1240586968}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3}
m_Name:
m_EditorClassIdentifier:
m_Material: {fileID: 0}
m_Color: {r: 0.23031552, g: 0.8490566, b: 0, a: 1}
m_RaycastTarget: 1
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
m_Maskable: 1
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
m_Sprite: {fileID: 21300000, guid: 61583fba956632548911dbe60ba47876, type: 3}
m_Type: 1
m_PreserveAspect: 0
m_FillCenter: 1
m_FillMethod: 4
m_FillAmount: 1
m_FillClockwise: 1
m_FillOrigin: 0
m_UseSpriteMesh: 0
m_PixelsPerUnitMultiplier: 1
--- !u!222 &1240586972
CanvasRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1240586968}
m_CullTransparentMesh: 1
--- !u!1 &1242612115
GameObject:
m_ObjectHideFlags: 0
@@ -4552,6 +4772,140 @@ CanvasRenderer:
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1671445827}
m_CullTransparentMesh: 1
--- !u!1 &1718872332
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 1718872333}
- component: {fileID: 1718872335}
- component: {fileID: 1718872334}
m_Layer: 5
m_Name: Text (TMP)
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &1718872333
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1718872332}
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: []
m_Father: {fileID: 1240586969}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 0, y: 0}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!114 &1718872334
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1718872332}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: f4688fdb7df04437aeb418b961361dc5, type: 3}
m_Name:
m_EditorClassIdentifier:
m_Material: {fileID: 0}
m_Color: {r: 1, g: 1, b: 1, a: 1}
m_RaycastTarget: 1
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
m_Maskable: 1
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
m_text: Start
m_isRightToLeft: 0
m_fontAsset: {fileID: 11400000, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2}
m_sharedMaterial: {fileID: 2180264, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2}
m_fontSharedMaterials: []
m_fontMaterial: {fileID: 0}
m_fontMaterials: []
m_fontColor32:
serializedVersion: 2
rgba: 4281479730
m_fontColor: {r: 0.19607843, g: 0.19607843, b: 0.19607843, a: 1}
m_enableVertexGradient: 0
m_colorMode: 3
m_fontColorGradient:
topLeft: {r: 1, g: 1, b: 1, a: 1}
topRight: {r: 1, g: 1, b: 1, a: 1}
bottomLeft: {r: 1, g: 1, b: 1, a: 1}
bottomRight: {r: 1, g: 1, b: 1, a: 1}
m_fontColorGradientPreset: {fileID: 0}
m_spriteAsset: {fileID: 0}
m_tintAllSprites: 0
m_StyleSheet: {fileID: 0}
m_TextStyleHashCode: -1183493901
m_overrideHtmlColors: 0
m_faceColor:
serializedVersion: 2
rgba: 4294967295
m_fontSize: 40
m_fontSizeBase: 40
m_fontWeight: 400
m_enableAutoSizing: 0
m_fontSizeMin: 18
m_fontSizeMax: 72
m_fontStyle: 1
m_HorizontalAlignment: 2
m_VerticalAlignment: 512
m_textAlignment: 65535
m_characterSpacing: 0
m_wordSpacing: 0
m_lineSpacing: 0
m_lineSpacingMax: 0
m_paragraphSpacing: 0
m_charWidthMaxAdj: 0
m_enableWordWrapping: 1
m_wordWrappingRatios: 0.4
m_overflowMode: 0
m_linkedTextComponent: {fileID: 0}
parentLinkedComponent: {fileID: 0}
m_enableKerning: 1
m_enableExtraPadding: 0
checkPaddingRequired: 0
m_isRichText: 1
m_parseCtrlCharacters: 1
m_isOrthographic: 1
m_isCullingEnabled: 0
m_horizontalMapping: 0
m_verticalMapping: 0
m_uvLineOffset: 0
m_geometrySortingOrder: 0
m_IsTextObjectScaleStatic: 0
m_VertexBufferAutoSizeReduction: 0
m_useMaxVisibleDescender: 1
m_pageToDisplay: 1
m_margin: {x: 0, y: 0, z: 0, w: 0}
m_isUsingLegacyAnimationComponent: 0
m_isVolumetricText: 0
m_hasFontAssetChanged: 0
m_baseMaterial: {fileID: 0}
m_maskOffset: {x: 0, y: 0, z: 0, w: 0}
--- !u!222 &1718872335
CanvasRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1718872332}
m_CullTransparentMesh: 1
--- !u!1 &1728768882
GameObject:
m_ObjectHideFlags: 0
@@ -5550,3 +5904,4 @@ SceneRoots:
- {fileID: 1221337729}
- {fileID: 1741633972}
- {fileID: 146840321}
- {fileID: 637686386}

View File

@@ -38,7 +38,7 @@ RenderSettings:
m_ReflectionIntensity: 1
m_CustomReflection: {fileID: 0}
m_Sun: {fileID: 0}
m_IndirectSpecularColor: {r: 0.32097125, g: 0.21131825, b: 0.40435025, a: 1}
m_IndirectSpecularColor: {r: 0.32107174, g: 0.21133253, b: 0.40438062, a: 1}
m_UseRadianceAmbientProbe: 0
--- !u!157 &3
LightmapSettings:
@@ -6949,6 +6949,50 @@ MonoBehaviour:
animator: {fileID: 546157697}
npcPrefab: {fileID: 153506, guid: 5e488cfd825ce044395037d93a9d8eb6, type: 3}
audio: {fileID: 0}
--- !u!1 &556260502
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 556260504}
- component: {fileID: 556260503}
m_Layer: 0
m_Name: Car Loader
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!114 &556260503
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 556260502}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 7750762847caa7b4bbc035455344adf9, type: 3}
m_Name:
m_EditorClassIdentifier:
--- !u!4 &556260504
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 556260502}
serializedVersion: 2
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 973.61975, y: 433.16608, z: 10.137479}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 0}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!4 &559703698 stripped
Transform:
m_CorrespondingSourceObject: {fileID: 43625883235569613, guid: 8e14ccd68551a1a4e93b83808515b996, type: 3}
@@ -26450,3 +26494,4 @@ SceneRoots:
- {fileID: 5211344267139555828}
- {fileID: 998358590}
- {fileID: 323815922}
- {fileID: 556260504}

View File

@@ -266,7 +266,6 @@ public class AgentControllerV6 : Agent
totalReward = 0;
print("checkpoint");
}
currentStep += 1;

View File

@@ -20,8 +20,8 @@ public class AgentControllerV7 : Agent
public float steeringRangeAtMaxSpeed = 7;
public float autoBrake = 100;
WheelControl[] wheels;
Rigidbody rigidBody;
public List<GameObject> checkpoints;
Rigidbody rb;
Vector3 startPosition;
Quaternion startRotation;
int currentStep = 0;
@@ -36,10 +36,10 @@ public class AgentControllerV7 : Agent
// Start is called before the first frame update
void Start()
{
rigidBody = GetComponent<Rigidbody>();
rb = GetComponent<Rigidbody>();
// Find all child GameObjects that have the WheelControl script attached
wheels = GetComponentsInChildren<WheelControl>();
startPosition = transform.localPosition;
startRotation = transform.localRotation;
@@ -64,8 +64,8 @@ public class AgentControllerV7 : Agent
// reset car
transform.localPosition = startPosition;
transform.localRotation = startRotation;
rigidBody.velocity = Vector3.zero;
rigidBody.angularVelocity = Vector3.zero;
rb.velocity = Vector3.zero;
rb.angularVelocity = Vector3.zero;
}
public override void CollectObservations(VectorSensor sensor)
@@ -98,9 +98,9 @@ public class AgentControllerV7 : Agent
// relative Velocity
Vector3 velocity = new Vector3(
rigidBody.velocity.x,
rb.velocity.x,
0,
rigidBody.velocity.z
rb.velocity.z
);
Vector3 relativeVelocity = Quaternion.Euler(0, -carAngle, 0) * velocity;
@@ -133,7 +133,7 @@ public class AgentControllerV7 : Agent
if (ignoreMentalPain)
totalReward -= 0.0018f;
float forwardSpeed = Vector3.Dot(transform.forward, rigidBody.velocity);
float forwardSpeed = Vector3.Dot(transform.forward, rb.velocity);
// Calculate how close the car is to top speed
// as a number from zero to one
float speedFactor = Mathf.InverseLerp(0, maxSpeed / 4, forwardSpeed);
@@ -218,12 +218,11 @@ public class AgentControllerV7 : Agent
if (checkpintDistance < 0.1f)
{
currentCheckpoint.GetComponent<Checkpoint>().isCollected = true;
stepsSinceCheckpoint = 0;
checkpointsReached += 1;
// If last checkpoint
if (currentCheckpoint == checkpoints[checkpoints.Count - 1].transform)
if (checkpointsReached == checkpoints.Count - 1)
{
AddReward(10f);
EndEpisode();

View File

@@ -2,6 +2,7 @@ using System.Collections;
using System.Collections.Generic;
using Unity.Mathematics;
using UnityEngine;
using UnityEngine.SceneManagement;
using UnityEngine.UI;
public class Garage : MonoBehaviour
@@ -13,6 +14,7 @@ public class Garage : MonoBehaviour
public Button[] ColorButtons;
public Material[] Colors;
quaternion currentRotation;
public Button startButton;
void Start()
{
CarButtons[0].onClick.AddListener(SelectHotrod);
@@ -37,6 +39,8 @@ public class Garage : MonoBehaviour
ColorButtons[10].onClick.AddListener(SelectWhite);
ColorButtons[11].onClick.AddListener(SelectYellow);
startButton.onClick.AddListener(startGame);
disable();
SelectHotrod();
}
@@ -62,6 +66,11 @@ public class Garage : MonoBehaviour
CurrentCar.transform.rotation = currentRotation;
}
void startGame()
{
SceneManager.LoadScene("Racetrack mini");
}
void SelectHotrod()
{
SelectCar(0);

View File

@@ -0,0 +1,25 @@
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class CarLoader : MonoBehaviour
{
public GameObject Hotrod;
GameObject playerCar;
void Start()
{
playerCar = GameObject.Find("Car Data").GetComponent<CarData>().playerCar;
replaceCar(Hotrod);
}
void replaceCar(GameObject car)
{
Transform carTransform = car.transform;
playerCar.transform.position = carTransform.position;
playerCar.transform.rotation = carTransform.rotation;
playerCar.transform.localScale = carTransform.localScale;
}
}

View File

@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 7750762847caa7b4bbc035455344adf9
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -0,0 +1,11 @@
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class CarData : MonoBehaviour
{
public GameObject playerCar;
private void Awake() {
DontDestroyOnLoad(gameObject);
}
}

View File

@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: eb30df1407c4e1348a03c058cb70c8ff
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -4,5 +4,11 @@
EditorBuildSettings:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Scenes: []
m_Scenes:
- enabled: 1
path: Assets/Scenes/Car Customization.unity
guid: 46fb4d69ffddef24abd332313bb5f4d8
- enabled: 1
path: Assets/Scenes/Racetrack mini.unity
guid: 9b5f77be9dfb7c14cba3af351597ec83
m_configObjects: {}