From d9b73bd14822e395187d97349e357c0b41fc6412 Mon Sep 17 00:00:00 2001 From: magn9775 Date: Mon, 22 Apr 2024 10:06:47 +0200 Subject: [PATCH] NPC --- Assets/AnimationController.controller | 95 ++- .../Character_BusinessMan_Shirt_01.prefab | 2 +- ...rePack_2020.3_HDRP_v1.24.unitypackage.meta | 7 + ...urePack_2020.3_URP_v1.24.unitypackage.meta | 7 + .../Imported Assets/Toon Vehicles/Flat.unity | 389 ++++++++-- .../Timers/Basic Motions - Scene_timers.json | 1 + .../Basic Motions - Scene_timers.json.meta | 7 + .../Timers/Racetrack mini_timers.json | 2 +- Assets/Prefabs/Cars/RaceCar.prefab | 9 +- Assets/Prefabs/Cars/StreetRacist.prefab | 686 ++++++++++++++++++ Assets/Prefabs/Cars/StreetRacist.prefab.meta | 7 + Assets/Prefabs/Character.prefab | 6 +- .../Smaller track pieces/Cooler_wall.prefab | 22 +- .../Smaller track pieces/small_wall.prefab | 10 +- .../Smaller track pieces/turned_wall.prefab | 20 +- Assets/Scenes/Racetrack mini.unity | 21 +- Assets/Scenes/SampleScene.unity | 579 +++++++++++---- Assets/Scripts/NPC improved.cs | 12 +- .../Scripts/{ => Unused}/InputController.cs | 0 .../{ => Unused}/InputController.cs.meta | 0 Assets/Scripts/car control v2.cs | 4 +- 21 files changed, 1610 insertions(+), 276 deletions(-) create mode 100644 Assets/Imported Assets/SimpleNaturePack/SimpleNaturePack_2020.3_HDRP_v1.24.unitypackage.meta create mode 100644 Assets/Imported Assets/SimpleNaturePack/SimpleNaturePack_2020.3_URP_v1.24.unitypackage.meta create mode 100644 Assets/ML-Agents/Timers/Basic Motions - Scene_timers.json create mode 100644 Assets/ML-Agents/Timers/Basic Motions - Scene_timers.json.meta create mode 100644 Assets/Prefabs/Cars/StreetRacist.prefab create mode 100644 Assets/Prefabs/Cars/StreetRacist.prefab.meta rename Assets/Scripts/{ => Unused}/InputController.cs (100%) rename Assets/Scripts/{ => Unused}/InputController.cs.meta (100%) diff --git a/Assets/AnimationController.controller b/Assets/AnimationController.controller index ed5f6da..9867bf5 100644 --- a/Assets/AnimationController.controller +++ b/Assets/AnimationController.controller @@ -11,10 +11,13 @@ AnimatorStateMachine: m_ChildStates: - serializedVersion: 1 m_State: {fileID: 7351787119493499002} - m_Position: {x: 260, y: 120, z: 0} + m_Position: {x: 300, y: 120, z: 0} - serializedVersion: 1 m_State: {fileID: 6352400568097308512} - m_Position: {x: 536.5, y: 98, z: 0} + m_Position: {x: 300, y: 230, z: 0} + - serializedVersion: 1 + m_State: {fileID: -210781921790509985} + m_Position: {x: 300, y: 10, z: 0} m_ChildStateMachines: [] m_AnyStateTransitions: [] m_EntryTransitions: [] @@ -22,7 +25,7 @@ AnimatorStateMachine: m_StateMachineBehaviours: [] m_AnyStatePosition: {x: 50, y: 70, z: 0} m_EntryPosition: {x: 50, y: 130, z: 0} - m_ExitPosition: {x: 50, y: 200, z: 0} + m_ExitPosition: {x: 50, y: 230, z: 0} m_ParentStateMachinePosition: {x: 800, y: 20, z: 0} m_DefaultState: {fileID: 7351787119493499002} --- !u!1101 &-5656815982725326556 @@ -50,6 +53,33 @@ AnimatorStateTransition: m_InterruptionSource: 0 m_OrderedInterruption: 1 m_CanTransitionToSelf: 1 +--- !u!1102 &-210781921790509985 +AnimatorState: + serializedVersion: 6 + m_ObjectHideFlags: 1 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_Name: New State 0 + m_Speed: 1 + m_CycleOffset: 0 + m_Transitions: + - {fileID: 5504058856710741215} + m_StateMachineBehaviours: [] + m_Position: {x: 50, y: 50, z: 0} + m_IKOnFeet: 0 + m_WriteDefaultValues: 1 + m_Mirror: 0 + m_SpeedParameterActive: 0 + m_MirrorParameterActive: 0 + m_CycleOffsetParameterActive: 0 + m_TimeParameterActive: 0 + m_Motion: {fileID: 7400004, guid: cbc500a5daea7c04892be5e81ed7a3c1, type: 3} + m_Tag: + m_SpeedParameter: + m_MirrorParameter: + m_CycleOffsetParameter: + m_TimeParameter: --- !u!91 &9100000 AnimatorController: m_ObjectHideFlags: 0 @@ -64,7 +94,13 @@ AnimatorController: m_DefaultFloat: 0 m_DefaultInt: 0 m_DefaultBool: 0 - m_Controller: {fileID: 9100000} + m_Controller: {fileID: 0} + - m_Name: IsTurning + m_Type: 4 + m_DefaultFloat: 0 + m_DefaultInt: 0 + m_DefaultBool: 0 + m_Controller: {fileID: 0} m_AnimatorLayers: - serializedVersion: 5 m_Name: Base Layer @@ -78,6 +114,56 @@ AnimatorController: m_IKPass: 0 m_SyncedLayerAffectsTiming: 0 m_Controller: {fileID: 9100000} +--- !u!1101 &1457205851355554210 +AnimatorStateTransition: + m_ObjectHideFlags: 1 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_Name: + m_Conditions: + - m_ConditionMode: 1 + m_ConditionEvent: IsTurning + m_EventTreshold: 0 + m_DstStateMachine: {fileID: 0} + m_DstState: {fileID: -210781921790509985} + m_Solo: 0 + m_Mute: 0 + m_IsExit: 0 + serializedVersion: 3 + m_TransitionDuration: 0.25 + m_TransitionOffset: 0 + m_ExitTime: 0.6875 + m_HasExitTime: 1 + m_HasFixedDuration: 1 + m_InterruptionSource: 0 + m_OrderedInterruption: 1 + m_CanTransitionToSelf: 1 +--- !u!1101 &5504058856710741215 +AnimatorStateTransition: + m_ObjectHideFlags: 1 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_Name: + m_Conditions: + - m_ConditionMode: 2 + m_ConditionEvent: IsTurning + m_EventTreshold: 0 + m_DstStateMachine: {fileID: 0} + m_DstState: {fileID: 7351787119493499002} + m_Solo: 0 + m_Mute: 0 + m_IsExit: 0 + serializedVersion: 3 + m_TransitionDuration: 0.25 + m_TransitionOffset: 0 + m_ExitTime: 0.9127907 + m_HasExitTime: 1 + m_HasFixedDuration: 1 + m_InterruptionSource: 0 + m_OrderedInterruption: 1 + m_CanTransitionToSelf: 1 --- !u!1102 &6352400568097308512 AnimatorState: serializedVersion: 6 @@ -117,6 +203,7 @@ AnimatorState: m_CycleOffset: 0 m_Transitions: - {fileID: -5656815982725326556} + - {fileID: 1457205851355554210} m_StateMachineBehaviours: [] m_Position: {x: 50, y: 50, z: 0} m_IKOnFeet: 0 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 22d54f7..e0e2173 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: 0, y: 0, z: 38.17895} + m_LocalPosition: {x: -64.33174, y: 0, z: 100.35948} m_LocalScale: {x: 1, y: 1, z: 1} m_ConstrainProportionsScale: 0 m_Children: diff --git a/Assets/Imported Assets/SimpleNaturePack/SimpleNaturePack_2020.3_HDRP_v1.24.unitypackage.meta b/Assets/Imported Assets/SimpleNaturePack/SimpleNaturePack_2020.3_HDRP_v1.24.unitypackage.meta new file mode 100644 index 0000000..2f7eb2e --- /dev/null +++ b/Assets/Imported Assets/SimpleNaturePack/SimpleNaturePack_2020.3_HDRP_v1.24.unitypackage.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: 58f7e79a87c79824597746e8c1bfe400 +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Imported Assets/SimpleNaturePack/SimpleNaturePack_2020.3_URP_v1.24.unitypackage.meta b/Assets/Imported Assets/SimpleNaturePack/SimpleNaturePack_2020.3_URP_v1.24.unitypackage.meta new file mode 100644 index 0000000..73c9a86 --- /dev/null +++ b/Assets/Imported Assets/SimpleNaturePack/SimpleNaturePack_2020.3_URP_v1.24.unitypackage.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: f58d25b9e504a4f41ab4a71cf87c1845 +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Imported Assets/Toon Vehicles/Flat.unity b/Assets/Imported Assets/Toon Vehicles/Flat.unity index a61045f..2035f14 100644 --- a/Assets/Imported Assets/Toon Vehicles/Flat.unity +++ b/Assets/Imported Assets/Toon Vehicles/Flat.unity @@ -38,7 +38,7 @@ RenderSettings: m_ReflectionIntensity: 1 m_CustomReflection: {fileID: 0} m_Sun: {fileID: 705507994} - m_IndirectSpecularColor: {r: 0.44657874, g: 0.49641412, b: 0.5748186, a: 1} + m_IndirectSpecularColor: {r: 0.44657832, g: 0.49641365, b: 0.5748179, a: 1} m_UseRadianceAmbientProbe: 0 --- !u!157 &3 LightmapSettings: @@ -104,7 +104,7 @@ NavMeshSettings: serializedVersion: 2 m_ObjectHideFlags: 0 m_BuildSettings: - serializedVersion: 2 + serializedVersion: 3 agentTypeID: 0 agentRadius: 0.5 agentHeight: 2 @@ -117,7 +117,7 @@ NavMeshSettings: cellSize: 0.16666667 manualTileSize: 0 tileSize: 256 - accuratePlacement: 0 + buildHeightMesh: 0 maxJobWorkers: 0 preserveTilesOutsideBounds: 0 debug: @@ -209,12 +209,13 @@ Transform: m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 705507993} + serializedVersion: 2 m_LocalRotation: {x: 0.15114713, y: 0.8463623, z: -0.3946633, w: 0.32413942} m_LocalPosition: {x: 6.45, y: 5.44, z: 0} m_LocalScale: {x: 1, y: 1, z: 1} + m_ConstrainProportionsScale: 0 m_Children: [] m_Father: {fileID: 0} - m_RootOrder: 1 m_LocalEulerAnglesHint: {x: 50, y: 138.088, z: 0} --- !u!1 &963194225 GameObject: @@ -256,9 +257,17 @@ Camera: m_projectionMatrixMode: 1 m_GateFitMode: 2 m_FOVAxisMode: 0 + m_Iso: 200 + m_ShutterSpeed: 0.005 + m_Aperture: 16 + m_FocusDistance: 10 + m_FocalLength: 50 + m_BladeCount: 5 + m_Curvature: {x: 2, y: 11} + m_BarrelClipping: 0.25 + m_Anamorphism: 0 m_SensorSize: {x: 36, y: 24} m_LensShift: {x: 0, y: 0} - m_FocalLength: 50 m_NormalizedViewPortRect: serializedVersion: 2 x: 0 @@ -292,13 +301,71 @@ Transform: m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 963194225} + serializedVersion: 2 m_LocalRotation: {x: 0.08552023, y: 0.9110288, z: -0.32369867, w: 0.24069071} m_LocalPosition: {x: -5.966764, y: 11.958468, z: 9.965471} m_LocalScale: {x: 1, y: 1, z: 1} + m_ConstrainProportionsScale: 0 m_Children: [] m_Father: {fileID: 0} - m_RootOrder: 0 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!1001 &1211773704 +PrefabInstance: + m_ObjectHideFlags: 0 + serializedVersion: 2 + m_Modification: + serializedVersion: 3 + m_TransformParent: {fileID: 0} + m_Modifications: + - target: {fileID: 379844619727329067, guid: ff6cca72366c44449a48ad6531cd102c, type: 3} + propertyPath: m_Name + value: Pickup + objectReference: {fileID: 0} + - target: {fileID: 1098935338629557492, guid: ff6cca72366c44449a48ad6531cd102c, type: 3} + propertyPath: m_LocalPosition.x + value: -4.7050805 + objectReference: {fileID: 0} + - target: {fileID: 1098935338629557492, guid: ff6cca72366c44449a48ad6531cd102c, type: 3} + propertyPath: m_LocalPosition.y + value: -0.0017497241 + objectReference: {fileID: 0} + - target: {fileID: 1098935338629557492, guid: ff6cca72366c44449a48ad6531cd102c, type: 3} + propertyPath: m_LocalPosition.z + value: 22.882008 + objectReference: {fileID: 0} + - target: {fileID: 1098935338629557492, guid: ff6cca72366c44449a48ad6531cd102c, type: 3} + propertyPath: m_LocalRotation.w + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 1098935338629557492, guid: ff6cca72366c44449a48ad6531cd102c, type: 3} + propertyPath: m_LocalRotation.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 1098935338629557492, guid: ff6cca72366c44449a48ad6531cd102c, type: 3} + propertyPath: m_LocalRotation.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 1098935338629557492, guid: ff6cca72366c44449a48ad6531cd102c, type: 3} + propertyPath: m_LocalRotation.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 1098935338629557492, guid: ff6cca72366c44449a48ad6531cd102c, type: 3} + propertyPath: m_LocalEulerAnglesHint.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 1098935338629557492, guid: ff6cca72366c44449a48ad6531cd102c, type: 3} + propertyPath: m_LocalEulerAnglesHint.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 1098935338629557492, guid: ff6cca72366c44449a48ad6531cd102c, type: 3} + propertyPath: m_LocalEulerAnglesHint.z + value: 0 + objectReference: {fileID: 0} + m_RemovedComponents: [] + m_RemovedGameObjects: [] + m_AddedGameObjects: [] + m_AddedComponents: [] + m_SourcePrefab: {fileID: 100100000, guid: ff6cca72366c44449a48ad6531cd102c, type: 3} --- !u!1 &1900728853 GameObject: m_ObjectHideFlags: 0 @@ -326,9 +393,17 @@ MeshCollider: m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1900728853} 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: 4 + serializedVersion: 5 m_Convex: 0 m_CookingOptions: 30 m_Mesh: {fileID: 10209, guid: 0000000000000000e000000000000000, type: 0} @@ -343,6 +418,7 @@ MeshRenderer: m_CastShadows: 1 m_ReceiveShadows: 1 m_DynamicOccludee: 1 + m_StaticShadowCaster: 0 m_MotionVectors: 1 m_LightProbeUsage: 1 m_ReflectionProbeUsage: 1 @@ -388,18 +464,77 @@ Transform: m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1900728853} + serializedVersion: 2 m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} m_LocalPosition: {x: 0, y: 0, z: 0} m_LocalScale: {x: 10, y: 10, z: 10} + m_ConstrainProportionsScale: 0 m_Children: [] m_Father: {fileID: 0} - m_RootOrder: 2 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!1001 &2135964431 +PrefabInstance: + m_ObjectHideFlags: 0 + serializedVersion: 2 + m_Modification: + serializedVersion: 3 + m_TransformParent: {fileID: 0} + m_Modifications: + - target: {fileID: 6178322777571467830, guid: 7beb26042036e2f4795ae5e366b763a5, type: 3} + propertyPath: m_Name + value: Hotrod + objectReference: {fileID: 0} + - target: {fileID: 6897410853055338985, guid: 7beb26042036e2f4795ae5e366b763a5, type: 3} + propertyPath: m_LocalPosition.x + value: 23.804333 + objectReference: {fileID: 0} + - target: {fileID: 6897410853055338985, guid: 7beb26042036e2f4795ae5e366b763a5, type: 3} + propertyPath: m_LocalPosition.y + value: 0.0040092766 + objectReference: {fileID: 0} + - target: {fileID: 6897410853055338985, guid: 7beb26042036e2f4795ae5e366b763a5, type: 3} + propertyPath: m_LocalPosition.z + value: 23.907906 + objectReference: {fileID: 0} + - target: {fileID: 6897410853055338985, guid: 7beb26042036e2f4795ae5e366b763a5, type: 3} + propertyPath: m_LocalRotation.w + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 6897410853055338985, guid: 7beb26042036e2f4795ae5e366b763a5, type: 3} + propertyPath: m_LocalRotation.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 6897410853055338985, guid: 7beb26042036e2f4795ae5e366b763a5, type: 3} + propertyPath: m_LocalRotation.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 6897410853055338985, guid: 7beb26042036e2f4795ae5e366b763a5, type: 3} + propertyPath: m_LocalRotation.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 6897410853055338985, guid: 7beb26042036e2f4795ae5e366b763a5, type: 3} + propertyPath: m_LocalEulerAnglesHint.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 6897410853055338985, guid: 7beb26042036e2f4795ae5e366b763a5, type: 3} + propertyPath: m_LocalEulerAnglesHint.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 6897410853055338985, guid: 7beb26042036e2f4795ae5e366b763a5, type: 3} + propertyPath: m_LocalEulerAnglesHint.z + value: 0 + objectReference: {fileID: 0} + m_RemovedComponents: [] + m_RemovedGameObjects: [] + m_AddedGameObjects: [] + m_AddedComponents: [] + m_SourcePrefab: {fileID: 100100000, guid: 7beb26042036e2f4795ae5e366b763a5, type: 3} --- !u!1001 &27496604547695289 PrefabInstance: m_ObjectHideFlags: 0 serializedVersion: 2 m_Modification: + serializedVersion: 3 m_TransformParent: {fileID: 0} m_Modifications: - target: {fileID: 1452403404742232142, guid: 57fd33faf2e2b78449a3f6b4f23ae399, type: 3} @@ -451,12 +586,16 @@ PrefabInstance: value: Bus objectReference: {fileID: 0} m_RemovedComponents: [] + m_RemovedGameObjects: [] + m_AddedGameObjects: [] + m_AddedComponents: [] m_SourcePrefab: {fileID: 100100000, guid: 57fd33faf2e2b78449a3f6b4f23ae399, type: 3} --- !u!1001 &123212264264460356 PrefabInstance: m_ObjectHideFlags: 0 serializedVersion: 2 m_Modification: + serializedVersion: 3 m_TransformParent: {fileID: 0} m_Modifications: - target: {fileID: 7252002298733162623, guid: d3195d4c2cead0f48a4cb36ec36a66c9, type: 3} @@ -508,12 +647,16 @@ PrefabInstance: value: Sedan objectReference: {fileID: 0} m_RemovedComponents: [] + m_RemovedGameObjects: [] + m_AddedGameObjects: [] + m_AddedComponents: [] m_SourcePrefab: {fileID: 100100000, guid: d3195d4c2cead0f48a4cb36ec36a66c9, type: 3} --- !u!1001 &156961264799863976 PrefabInstance: m_ObjectHideFlags: 0 serializedVersion: 2 m_Modification: + serializedVersion: 3 m_TransformParent: {fileID: 0} m_Modifications: - target: {fileID: 8533362894478625150, guid: bff25cd7ae1abfc41915bf333ff8ceb8, type: 3} @@ -526,7 +669,7 @@ PrefabInstance: objectReference: {fileID: 0} - target: {fileID: 8964926478130508449, guid: bff25cd7ae1abfc41915bf333ff8ceb8, type: 3} propertyPath: m_LocalPosition.x - value: -18 + value: 14.5 objectReference: {fileID: 0} - target: {fileID: 8964926478130508449, guid: bff25cd7ae1abfc41915bf333ff8ceb8, type: 3} propertyPath: m_LocalPosition.y @@ -534,7 +677,7 @@ PrefabInstance: objectReference: {fileID: 0} - target: {fileID: 8964926478130508449, guid: bff25cd7ae1abfc41915bf333ff8ceb8, type: 3} propertyPath: m_LocalPosition.z - value: 0 + value: 24.25 objectReference: {fileID: 0} - target: {fileID: 8964926478130508449, guid: bff25cd7ae1abfc41915bf333ff8ceb8, type: 3} propertyPath: m_LocalRotation.w @@ -565,12 +708,16 @@ PrefabInstance: value: 0 objectReference: {fileID: 0} m_RemovedComponents: [] + m_RemovedGameObjects: [] + m_AddedGameObjects: [] + m_AddedComponents: [] m_SourcePrefab: {fileID: 100100000, guid: bff25cd7ae1abfc41915bf333ff8ceb8, type: 3} --- !u!1001 &947639130572845956 PrefabInstance: m_ObjectHideFlags: 0 serializedVersion: 2 m_Modification: + serializedVersion: 3 m_TransformParent: {fileID: 0} m_Modifications: - target: {fileID: 8564356269477540141, guid: 9b29604c367a898449ab2a19acc3ad2d, type: 3} @@ -622,12 +769,16 @@ PrefabInstance: value: Taxi objectReference: {fileID: 0} m_RemovedComponents: [] + m_RemovedGameObjects: [] + m_AddedGameObjects: [] + m_AddedComponents: [] m_SourcePrefab: {fileID: 100100000, guid: 9b29604c367a898449ab2a19acc3ad2d, type: 3} --- !u!1001 &1380567602891698869 PrefabInstance: m_ObjectHideFlags: 0 serializedVersion: 2 m_Modification: + serializedVersion: 3 m_TransformParent: {fileID: 0} m_Modifications: - target: {fileID: 6242278271759079472, guid: 2a2c13a0047820847b80da4873fbcf7c, type: 3} @@ -679,12 +830,16 @@ PrefabInstance: value: 0 objectReference: {fileID: 0} m_RemovedComponents: [] + m_RemovedGameObjects: [] + m_AddedGameObjects: [] + m_AddedComponents: [] m_SourcePrefab: {fileID: 100100000, guid: 2a2c13a0047820847b80da4873fbcf7c, type: 3} --- !u!1001 &1867646662684197322 PrefabInstance: m_ObjectHideFlags: 0 serializedVersion: 2 m_Modification: + serializedVersion: 3 m_TransformParent: {fileID: 0} m_Modifications: - target: {fileID: 6948567581636024852, guid: 37d1b3d7950713148a5e9982bd037e4a, type: 3} @@ -697,7 +852,7 @@ PrefabInstance: objectReference: {fileID: 0} - target: {fileID: 7668236070427189707, guid: 37d1b3d7950713148a5e9982bd037e4a, type: 3} propertyPath: m_LocalPosition.x - value: -10 + value: 9.25 objectReference: {fileID: 0} - target: {fileID: 7668236070427189707, guid: 37d1b3d7950713148a5e9982bd037e4a, type: 3} propertyPath: m_LocalPosition.y @@ -705,7 +860,7 @@ PrefabInstance: objectReference: {fileID: 0} - target: {fileID: 7668236070427189707, guid: 37d1b3d7950713148a5e9982bd037e4a, type: 3} propertyPath: m_LocalPosition.z - value: -7 + value: 24 objectReference: {fileID: 0} - target: {fileID: 7668236070427189707, guid: 37d1b3d7950713148a5e9982bd037e4a, type: 3} propertyPath: m_LocalRotation.w @@ -736,12 +891,16 @@ PrefabInstance: value: 0 objectReference: {fileID: 0} m_RemovedComponents: [] + m_RemovedGameObjects: [] + m_AddedGameObjects: [] + m_AddedComponents: [] m_SourcePrefab: {fileID: 100100000, guid: 37d1b3d7950713148a5e9982bd037e4a, type: 3} --- !u!1001 &2388149792583400244 PrefabInstance: m_ObjectHideFlags: 0 serializedVersion: 2 m_Modification: + serializedVersion: 3 m_TransformParent: {fileID: 0} m_Modifications: - target: {fileID: 7202696142791456709, guid: 8ae7692c6260d7e4cb8c2d18ef13076b, type: 3} @@ -793,12 +952,16 @@ PrefabInstance: value: 0 objectReference: {fileID: 0} m_RemovedComponents: [] + m_RemovedGameObjects: [] + m_AddedGameObjects: [] + m_AddedComponents: [] m_SourcePrefab: {fileID: 100100000, guid: 8ae7692c6260d7e4cb8c2d18ef13076b, type: 3} --- !u!1001 &2575670791780237999 PrefabInstance: m_ObjectHideFlags: 0 serializedVersion: 2 m_Modification: + serializedVersion: 3 m_TransformParent: {fileID: 0} m_Modifications: - target: {fileID: 1635742155871119414, guid: d1260a2899e1c3a42a07e01c6519d8b6, type: 3} @@ -850,12 +1013,16 @@ PrefabInstance: value: 0 objectReference: {fileID: 0} m_RemovedComponents: [] + m_RemovedGameObjects: [] + m_AddedGameObjects: [] + m_AddedComponents: [] m_SourcePrefab: {fileID: 100100000, guid: d1260a2899e1c3a42a07e01c6519d8b6, type: 3} --- !u!1001 &2726692848679761945 PrefabInstance: m_ObjectHideFlags: 0 serializedVersion: 2 m_Modification: + serializedVersion: 3 m_TransformParent: {fileID: 0} m_Modifications: - target: {fileID: 5921562132166830618, guid: 86572df23eb749b44ac5d995c67305ee, type: 3} @@ -907,12 +1074,16 @@ PrefabInstance: value: 0 objectReference: {fileID: 0} m_RemovedComponents: [] + m_RemovedGameObjects: [] + m_AddedGameObjects: [] + m_AddedComponents: [] m_SourcePrefab: {fileID: 100100000, guid: 86572df23eb749b44ac5d995c67305ee, type: 3} --- !u!1001 &3045225152430015083 PrefabInstance: m_ObjectHideFlags: 0 serializedVersion: 2 m_Modification: + serializedVersion: 3 m_TransformParent: {fileID: 0} m_Modifications: - target: {fileID: 2671859226388079592, guid: 5b2437ea10b1d6f4093bccd2e0887e96, type: 3} @@ -964,12 +1135,16 @@ PrefabInstance: value: Limousine objectReference: {fileID: 0} m_RemovedComponents: [] + m_RemovedGameObjects: [] + m_AddedGameObjects: [] + m_AddedComponents: [] m_SourcePrefab: {fileID: 100100000, guid: 5b2437ea10b1d6f4093bccd2e0887e96, type: 3} --- !u!1001 &3045675989207925859 PrefabInstance: m_ObjectHideFlags: 0 serializedVersion: 2 m_Modification: + serializedVersion: 3 m_TransformParent: {fileID: 0} m_Modifications: - target: {fileID: 7248695681164876261, guid: dd3c446dbda1f6e4495d3969bbb9c030, type: 3} @@ -982,7 +1157,7 @@ PrefabInstance: objectReference: {fileID: 0} - target: {fileID: 7970741476750402106, guid: dd3c446dbda1f6e4495d3969bbb9c030, type: 3} propertyPath: m_LocalPosition.x - value: 6 + value: 19 objectReference: {fileID: 0} - target: {fileID: 7970741476750402106, guid: dd3c446dbda1f6e4495d3969bbb9c030, type: 3} propertyPath: m_LocalPosition.y @@ -990,7 +1165,7 @@ PrefabInstance: objectReference: {fileID: 0} - target: {fileID: 7970741476750402106, guid: dd3c446dbda1f6e4495d3969bbb9c030, type: 3} propertyPath: m_LocalPosition.z - value: 7 + value: 24 objectReference: {fileID: 0} - target: {fileID: 7970741476750402106, guid: dd3c446dbda1f6e4495d3969bbb9c030, type: 3} propertyPath: m_LocalRotation.w @@ -1021,12 +1196,16 @@ PrefabInstance: value: 0 objectReference: {fileID: 0} m_RemovedComponents: [] + m_RemovedGameObjects: [] + m_AddedGameObjects: [] + m_AddedComponents: [] m_SourcePrefab: {fileID: 100100000, guid: dd3c446dbda1f6e4495d3969bbb9c030, type: 3} --- !u!1001 &3066544916128375794 PrefabInstance: m_ObjectHideFlags: 0 serializedVersion: 2 m_Modification: + serializedVersion: 3 m_TransformParent: {fileID: 0} m_Modifications: - target: {fileID: 399416245487689495, guid: e8bb022d11c3f80439cd8a628119a1c9, type: 3} @@ -1035,7 +1214,7 @@ PrefabInstance: objectReference: {fileID: 0} - target: {fileID: 399416245487689495, guid: e8bb022d11c3f80439cd8a628119a1c9, type: 3} propertyPath: m_LocalPosition.x - value: -10 + value: 5.25 objectReference: {fileID: 0} - target: {fileID: 399416245487689495, guid: e8bb022d11c3f80439cd8a628119a1c9, type: 3} propertyPath: m_LocalPosition.y @@ -1043,7 +1222,7 @@ PrefabInstance: objectReference: {fileID: 0} - target: {fileID: 399416245487689495, guid: e8bb022d11c3f80439cd8a628119a1c9, type: 3} propertyPath: m_LocalPosition.z - value: 0 + value: 5.5 objectReference: {fileID: 0} - target: {fileID: 399416245487689495, guid: e8bb022d11c3f80439cd8a628119a1c9, type: 3} propertyPath: m_LocalRotation.w @@ -1078,12 +1257,16 @@ PrefabInstance: value: Camper objectReference: {fileID: 0} m_RemovedComponents: [] + m_RemovedGameObjects: [] + m_AddedGameObjects: [] + m_AddedComponents: [] m_SourcePrefab: {fileID: 100100000, guid: e8bb022d11c3f80439cd8a628119a1c9, type: 3} --- !u!1001 &3176106448782367128 PrefabInstance: m_ObjectHideFlags: 0 serializedVersion: 2 m_Modification: + serializedVersion: 3 m_TransformParent: {fileID: 0} m_Modifications: - target: {fileID: 4680948025717717014, guid: 37e2f48e2db50f74785575473a6c60e7, type: 3} @@ -1135,12 +1318,16 @@ PrefabInstance: value: 0 objectReference: {fileID: 0} m_RemovedComponents: [] + m_RemovedGameObjects: [] + m_AddedGameObjects: [] + m_AddedComponents: [] m_SourcePrefab: {fileID: 100100000, guid: 37e2f48e2db50f74785575473a6c60e7, type: 3} --- !u!1001 &3374185000631735969 PrefabInstance: m_ObjectHideFlags: 0 serializedVersion: 2 m_Modification: + serializedVersion: 3 m_TransformParent: {fileID: 0} m_Modifications: - target: {fileID: 3516755193365183191, guid: b541e2772fd564240ba123ddab926a1b, type: 3} @@ -1192,12 +1379,16 @@ PrefabInstance: value: 0 objectReference: {fileID: 0} m_RemovedComponents: [] + m_RemovedGameObjects: [] + m_AddedGameObjects: [] + m_AddedComponents: [] m_SourcePrefab: {fileID: 100100000, guid: b541e2772fd564240ba123ddab926a1b, type: 3} --- !u!1001 &3495602467527827249 PrefabInstance: m_ObjectHideFlags: 0 serializedVersion: 2 m_Modification: + serializedVersion: 3 m_TransformParent: {fileID: 0} m_Modifications: - target: {fileID: 8110657228140246913, guid: 85e6aada62e19204681e1049ef26f278, type: 3} @@ -1249,12 +1440,16 @@ PrefabInstance: value: FBI objectReference: {fileID: 0} m_RemovedComponents: [] + m_RemovedGameObjects: [] + m_AddedGameObjects: [] + m_AddedComponents: [] m_SourcePrefab: {fileID: 100100000, guid: 85e6aada62e19204681e1049ef26f278, type: 3} --- !u!1001 &3815678962774202209 PrefabInstance: m_ObjectHideFlags: 0 serializedVersion: 2 m_Modification: + serializedVersion: 3 m_TransformParent: {fileID: 0} m_Modifications: - target: {fileID: 3697706207672470654, guid: 9bff79f6ba17ac24ca5ab085d9239027, type: 3} @@ -1306,12 +1501,16 @@ PrefabInstance: value: Swat objectReference: {fileID: 0} m_RemovedComponents: [] + m_RemovedGameObjects: [] + m_AddedGameObjects: [] + m_AddedComponents: [] m_SourcePrefab: {fileID: 100100000, guid: 9bff79f6ba17ac24ca5ab085d9239027, type: 3} --- !u!1001 &3842256096033157090 PrefabInstance: m_ObjectHideFlags: 0 serializedVersion: 2 m_Modification: + serializedVersion: 3 m_TransformParent: {fileID: 0} m_Modifications: - target: {fileID: 1532549717925908871, guid: f28f0fe126252ef4d8ad42a6c64d2f4c, type: 3} @@ -1363,12 +1562,16 @@ PrefabInstance: value: 0 objectReference: {fileID: 0} m_RemovedComponents: [] + m_RemovedGameObjects: [] + m_AddedGameObjects: [] + m_AddedComponents: [] m_SourcePrefab: {fileID: 100100000, guid: f28f0fe126252ef4d8ad42a6c64d2f4c, type: 3} --- !u!1001 &3991471511405035044 PrefabInstance: m_ObjectHideFlags: 0 serializedVersion: 2 m_Modification: + serializedVersion: 3 m_TransformParent: {fileID: 0} m_Modifications: - target: {fileID: 5844733231158822744, guid: c741f6f6a040c1a46a1d389a12a3c6fd, type: 3} @@ -1377,7 +1580,7 @@ PrefabInstance: objectReference: {fileID: 0} - target: {fileID: 5844733231158822744, guid: c741f6f6a040c1a46a1d389a12a3c6fd, type: 3} propertyPath: m_LocalPosition.x - value: -6 + value: 1.5 objectReference: {fileID: 0} - target: {fileID: 5844733231158822744, guid: c741f6f6a040c1a46a1d389a12a3c6fd, type: 3} propertyPath: m_LocalPosition.y @@ -1385,7 +1588,7 @@ PrefabInstance: objectReference: {fileID: 0} - target: {fileID: 5844733231158822744, guid: c741f6f6a040c1a46a1d389a12a3c6fd, type: 3} propertyPath: m_LocalPosition.z - value: -7 + value: 23.75 objectReference: {fileID: 0} - target: {fileID: 5844733231158822744, guid: c741f6f6a040c1a46a1d389a12a3c6fd, type: 3} propertyPath: m_LocalRotation.w @@ -1420,12 +1623,16 @@ PrefabInstance: value: SchoolBus objectReference: {fileID: 0} m_RemovedComponents: [] + m_RemovedGameObjects: [] + m_AddedGameObjects: [] + m_AddedComponents: [] m_SourcePrefab: {fileID: 100100000, guid: c741f6f6a040c1a46a1d389a12a3c6fd, type: 3} --- !u!1001 &4361581841096258652 PrefabInstance: m_ObjectHideFlags: 0 serializedVersion: 2 m_Modification: + serializedVersion: 3 m_TransformParent: {fileID: 0} m_Modifications: - target: {fileID: 3708981800238975936, guid: e5a4681eed27e9a4d88700283b86d61e, type: 3} @@ -1438,7 +1645,7 @@ PrefabInstance: objectReference: {fileID: 0} - target: {fileID: 4142672010640732191, guid: e5a4681eed27e9a4d88700283b86d61e, type: 3} propertyPath: m_LocalPosition.x - value: 10 + value: 5 objectReference: {fileID: 0} - target: {fileID: 4142672010640732191, guid: e5a4681eed27e9a4d88700283b86d61e, type: 3} propertyPath: m_LocalPosition.y @@ -1446,7 +1653,7 @@ PrefabInstance: objectReference: {fileID: 0} - target: {fileID: 4142672010640732191, guid: e5a4681eed27e9a4d88700283b86d61e, type: 3} propertyPath: m_LocalPosition.z - value: 7 + value: 23.25 objectReference: {fileID: 0} - target: {fileID: 4142672010640732191, guid: e5a4681eed27e9a4d88700283b86d61e, type: 3} propertyPath: m_LocalRotation.w @@ -1477,12 +1684,16 @@ PrefabInstance: value: 0 objectReference: {fileID: 0} m_RemovedComponents: [] + m_RemovedGameObjects: [] + m_AddedGameObjects: [] + m_AddedComponents: [] m_SourcePrefab: {fileID: 100100000, guid: e5a4681eed27e9a4d88700283b86d61e, type: 3} --- !u!1001 &6256786793527173755 PrefabInstance: m_ObjectHideFlags: 0 serializedVersion: 2 m_Modification: + serializedVersion: 3 m_TransformParent: {fileID: 0} m_Modifications: - target: {fileID: 5865643911771287703, guid: d464d0647df1b604a938ecca0957f71b, type: 3} @@ -1534,12 +1745,16 @@ PrefabInstance: value: 0 objectReference: {fileID: 0} m_RemovedComponents: [] + m_RemovedGameObjects: [] + m_AddedGameObjects: [] + m_AddedComponents: [] m_SourcePrefab: {fileID: 100100000, guid: d464d0647df1b604a938ecca0957f71b, type: 3} --- !u!1001 &6271637840378345027 PrefabInstance: m_ObjectHideFlags: 0 serializedVersion: 2 m_Modification: + serializedVersion: 3 m_TransformParent: {fileID: 0} m_Modifications: - target: {fileID: 2329892333366396237, guid: 0afc96dd7f7184447b34560f54de73fe, type: 3} @@ -1591,12 +1806,16 @@ PrefabInstance: value: 0 objectReference: {fileID: 0} m_RemovedComponents: [] + m_RemovedGameObjects: [] + m_AddedGameObjects: [] + m_AddedComponents: [] m_SourcePrefab: {fileID: 100100000, guid: 0afc96dd7f7184447b34560f54de73fe, type: 3} --- !u!1001 &6419501094579219563 PrefabInstance: m_ObjectHideFlags: 0 serializedVersion: 2 m_Modification: + serializedVersion: 3 m_TransformParent: {fileID: 0} m_Modifications: - target: {fileID: 1242343403402476317, guid: 5ecff089cd793fe45901a60b35f2fb83, type: 3} @@ -1648,12 +1867,16 @@ PrefabInstance: value: Bank objectReference: {fileID: 0} m_RemovedComponents: [] + m_RemovedGameObjects: [] + m_AddedGameObjects: [] + m_AddedComponents: [] m_SourcePrefab: {fileID: 100100000, guid: 5ecff089cd793fe45901a60b35f2fb83, type: 3} --- !u!1001 &6699662302960211274 PrefabInstance: m_ObjectHideFlags: 0 serializedVersion: 2 m_Modification: + serializedVersion: 3 m_TransformParent: {fileID: 0} m_Modifications: - target: {fileID: 3752588037445755757, guid: 0de1d4868d29c2f4f9934b5dfb7f3376, type: 3} @@ -1705,12 +1928,16 @@ PrefabInstance: value: 0 objectReference: {fileID: 0} m_RemovedComponents: [] + m_RemovedGameObjects: [] + m_AddedGameObjects: [] + m_AddedComponents: [] m_SourcePrefab: {fileID: 100100000, guid: 0de1d4868d29c2f4f9934b5dfb7f3376, type: 3} --- !u!1001 &7242459248399706928 PrefabInstance: m_ObjectHideFlags: 0 serializedVersion: 2 m_Modification: + serializedVersion: 3 m_TransformParent: {fileID: 0} m_Modifications: - target: {fileID: 3538516910491670057, guid: 8ed1ae95f75902e45be823dc527e5979, type: 3} @@ -1762,12 +1989,16 @@ PrefabInstance: value: LightTruck objectReference: {fileID: 0} m_RemovedComponents: [] + m_RemovedGameObjects: [] + m_AddedGameObjects: [] + m_AddedComponents: [] m_SourcePrefab: {fileID: 100100000, guid: 8ed1ae95f75902e45be823dc527e5979, type: 3} --- !u!1001 &7811848384683892858 PrefabInstance: m_ObjectHideFlags: 0 serializedVersion: 2 m_Modification: + serializedVersion: 3 m_TransformParent: {fileID: 0} m_Modifications: - target: {fileID: 3964432921577889022, guid: 7dcdb79924aafa344b88ef96e027b84d, type: 3} @@ -1819,69 +2050,16 @@ PrefabInstance: value: Hatchback objectReference: {fileID: 0} m_RemovedComponents: [] + m_RemovedGameObjects: [] + m_AddedGameObjects: [] + m_AddedComponents: [] m_SourcePrefab: {fileID: 100100000, guid: 7dcdb79924aafa344b88ef96e027b84d, type: 3} ---- !u!1001 &8315132970773928849 -PrefabInstance: - m_ObjectHideFlags: 0 - serializedVersion: 2 - m_Modification: - m_TransformParent: {fileID: 0} - m_Modifications: - - target: {fileID: 2560431240964970394, guid: a20ace5117f7901458867dedb644ac67, type: 3} - propertyPath: m_RootOrder - value: 9 - objectReference: {fileID: 0} - - target: {fileID: 2560431240964970394, guid: a20ace5117f7901458867dedb644ac67, type: 3} - propertyPath: m_LocalPosition.x - value: 2 - objectReference: {fileID: 0} - - target: {fileID: 2560431240964970394, guid: a20ace5117f7901458867dedb644ac67, type: 3} - propertyPath: m_LocalPosition.y - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 2560431240964970394, guid: a20ace5117f7901458867dedb644ac67, type: 3} - propertyPath: m_LocalPosition.z - value: 7 - objectReference: {fileID: 0} - - target: {fileID: 2560431240964970394, guid: a20ace5117f7901458867dedb644ac67, type: 3} - propertyPath: m_LocalRotation.w - value: 1 - objectReference: {fileID: 0} - - target: {fileID: 2560431240964970394, guid: a20ace5117f7901458867dedb644ac67, type: 3} - propertyPath: m_LocalRotation.x - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 2560431240964970394, guid: a20ace5117f7901458867dedb644ac67, type: 3} - propertyPath: m_LocalRotation.y - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 2560431240964970394, guid: a20ace5117f7901458867dedb644ac67, type: 3} - propertyPath: m_LocalRotation.z - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 2560431240964970394, guid: a20ace5117f7901458867dedb644ac67, type: 3} - propertyPath: m_LocalEulerAnglesHint.x - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 2560431240964970394, guid: a20ace5117f7901458867dedb644ac67, type: 3} - propertyPath: m_LocalEulerAnglesHint.y - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 2560431240964970394, guid: a20ace5117f7901458867dedb644ac67, type: 3} - propertyPath: m_LocalEulerAnglesHint.z - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 2994106298587688005, guid: a20ace5117f7901458867dedb644ac67, type: 3} - propertyPath: m_Name - value: Classic - objectReference: {fileID: 0} - m_RemovedComponents: [] - m_SourcePrefab: {fileID: 100100000, guid: a20ace5117f7901458867dedb644ac67, type: 3} --- !u!1001 &8470653523526826269 PrefabInstance: m_ObjectHideFlags: 0 serializedVersion: 2 m_Modification: + serializedVersion: 3 m_TransformParent: {fileID: 0} m_Modifications: - target: {fileID: 493832555185193406, guid: cdbd13414c384c241bed0729794f06d4, type: 3} @@ -1894,7 +2072,7 @@ PrefabInstance: objectReference: {fileID: 0} - target: {fileID: 927525343991298657, guid: cdbd13414c384c241bed0729794f06d4, type: 3} propertyPath: m_LocalPosition.x - value: 2 + value: -1.5 objectReference: {fileID: 0} - target: {fileID: 927525343991298657, guid: cdbd13414c384c241bed0729794f06d4, type: 3} propertyPath: m_LocalPosition.y @@ -1902,7 +2080,7 @@ PrefabInstance: objectReference: {fileID: 0} - target: {fileID: 927525343991298657, guid: cdbd13414c384c241bed0729794f06d4, type: 3} propertyPath: m_LocalPosition.z - value: -7 + value: 22.5 objectReference: {fileID: 0} - target: {fileID: 927525343991298657, guid: cdbd13414c384c241bed0729794f06d4, type: 3} propertyPath: m_LocalRotation.w @@ -1933,12 +2111,16 @@ PrefabInstance: value: 0 objectReference: {fileID: 0} m_RemovedComponents: [] + m_RemovedGameObjects: [] + m_AddedGameObjects: [] + m_AddedComponents: [] m_SourcePrefab: {fileID: 100100000, guid: cdbd13414c384c241bed0729794f06d4, type: 3} --- !u!1001 &8891060811255852050 PrefabInstance: m_ObjectHideFlags: 0 serializedVersion: 2 m_Modification: + serializedVersion: 3 m_TransformParent: {fileID: 0} m_Modifications: - target: {fileID: 3612383368630735136, guid: d1ef6aee8c42c3040b05b2e6788a09d4, type: 3} @@ -1990,12 +2172,16 @@ PrefabInstance: value: 0 objectReference: {fileID: 0} m_RemovedComponents: [] + m_RemovedGameObjects: [] + m_AddedGameObjects: [] + m_AddedComponents: [] m_SourcePrefab: {fileID: 100100000, guid: d1ef6aee8c42c3040b05b2e6788a09d4, type: 3} --- !u!1001 &8895045055158934371 PrefabInstance: m_ObjectHideFlags: 0 serializedVersion: 2 m_Modification: + serializedVersion: 3 m_TransformParent: {fileID: 0} m_Modifications: - target: {fileID: 368945848406940041, guid: 3c3a6d561a13de94197cf234b9ebde3b, type: 3} @@ -2047,12 +2233,16 @@ PrefabInstance: value: 0 objectReference: {fileID: 0} m_RemovedComponents: [] + m_RemovedGameObjects: [] + m_AddedGameObjects: [] + m_AddedComponents: [] m_SourcePrefab: {fileID: 100100000, guid: 3c3a6d561a13de94197cf234b9ebde3b, type: 3} --- !u!1001 &8919638296804299046 PrefabInstance: m_ObjectHideFlags: 0 serializedVersion: 2 m_Modification: + serializedVersion: 3 m_TransformParent: {fileID: 0} m_Modifications: - target: {fileID: 8214755990634478851, guid: de910aa4556e32e479053dd05619ade6, type: 3} @@ -2104,4 +2294,45 @@ PrefabInstance: value: StationWagon objectReference: {fileID: 0} m_RemovedComponents: [] + m_RemovedGameObjects: [] + m_AddedGameObjects: [] + m_AddedComponents: [] m_SourcePrefab: {fileID: 100100000, guid: de910aa4556e32e479053dd05619ade6, type: 3} +--- !u!1660057539 &9223372036854775807 +SceneRoots: + m_ObjectHideFlags: 0 + m_Roots: + - {fileID: 963194228} + - {fileID: 705507995} + - {fileID: 1900728857} + - {fileID: 8891060811255852050} + - {fileID: 6419501094579219563} + - {fileID: 156961264799863976} + - {fileID: 8470653523526826269} + - {fileID: 27496604547695289} + - {fileID: 3066544916128375794} + - {fileID: 2388149792583400244} + - {fileID: 3045675989207925859} + - {fileID: 3374185000631735969} + - {fileID: 3495602467527827249} + - {fileID: 6271637840378345027} + - {fileID: 1380567602891698869} + - {fileID: 7811848384683892858} + - {fileID: 1867646662684197322} + - {fileID: 7242459248399706928} + - {fileID: 3045225152430015083} + - {fileID: 6699662302960211274} + - {fileID: 2575670791780237999} + - {fileID: 8895045055158934371} + - {fileID: 3176106448782367128} + - {fileID: 3991471511405035044} + - {fileID: 123212264264460356} + - {fileID: 4361581841096258652} + - {fileID: 8919638296804299046} + - {fileID: 6256786793527173755} + - {fileID: 3815678962774202209} + - {fileID: 947639130572845956} + - {fileID: 3842256096033157090} + - {fileID: 2726692848679761945} + - {fileID: 1211773704} + - {fileID: 2135964431} diff --git a/Assets/ML-Agents/Timers/Basic Motions - Scene_timers.json b/Assets/ML-Agents/Timers/Basic Motions - Scene_timers.json new file mode 100644 index 0000000..a5f7134 --- /dev/null +++ b/Assets/ML-Agents/Timers/Basic Motions - Scene_timers.json @@ -0,0 +1 @@ +{"count":1,"self":175.86995199999998,"total":176.26622,"children":{"InitializeActuators":{"count":1,"self":0.0029992,"total":0.0029992,"children":null},"InitializeSensors":{"count":1,"self":0.0039873,"total":0.0039873,"children":null},"AgentSendState":{"count":559,"self":0.029265199999999998,"total":0.0590782,"children":{"CollectObservations":{"count":112,"self":0.0069784999999999995,"total":0.0069784999999999995,"children":null},"WriteActionMask":{"count":112,"self":0.0019993,"total":0.0019993,"children":null},"RequestDecision":{"count":112,"self":0.020835199999999998,"total":0.020835199999999998,"children":null}}},"DecideAction":{"count":559,"self":0.2955103,"total":0.2976869,"children":{"RayPerceptionSensor.Perceive":{"count":224,"self":0.0021766,"total":0.0021766,"children":null}}},"AgentAct":{"count":559,"self":0.0325198,"total":0.0325198,"children":null}},"gauges":{},"metadata":{"timer_format_version":"0.1.0","start_time_seconds":"1713769777","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":"Basic Motions - Scene","end_time_seconds":"1713769953"}} \ No newline at end of file diff --git a/Assets/ML-Agents/Timers/Basic Motions - Scene_timers.json.meta b/Assets/ML-Agents/Timers/Basic Motions - Scene_timers.json.meta new file mode 100644 index 0000000..684dd3f --- /dev/null +++ b/Assets/ML-Agents/Timers/Basic Motions - Scene_timers.json.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: 7fd5c881c782ff44cbec3898c2d6ab7e +TextScriptImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/ML-Agents/Timers/Racetrack mini_timers.json b/Assets/ML-Agents/Timers/Racetrack mini_timers.json index eee2e8f..5155b61 100644 --- a/Assets/ML-Agents/Timers/Racetrack mini_timers.json +++ b/Assets/ML-Agents/Timers/Racetrack mini_timers.json @@ -1 +1 @@ -{"count":1,"self":42.998300799999996,"total":43.4843429,"children":{"InitializeActuators":{"count":1,"self":0.0009975,"total":0.0009975,"children":null},"InitializeSensors":{"count":1,"self":0.0035107,"total":0.0035107,"children":null},"AgentSendState":{"count":1884,"self":0.0346849,"total":0.0636719,"children":{"CollectObservations":{"count":377,"self":0.0123839,"total":0.0123839,"children":null},"WriteActionMask":{"count":377,"self":0.0010061999999999998,"total":0.0010061999999999998,"children":null},"RequestDecision":{"count":377,"self":0.015596899999999999,"total":0.015596899999999999,"children":null}}},"DecideAction":{"count":1884,"self":0.3403078,"total":0.3445643,"children":{"RayPerceptionSensor.Perceive":{"count":754,"self":0.0042565,"total":0.0042565,"children":null}}},"AgentAct":{"count":1884,"self":0.07230099999999999,"total":0.07230099999999999,"children":null}},"gauges":{"BensonV6.1.CumulativeReward":{"count":1,"max":25.4530888,"min":25.4530888,"runningAverage":25.4530888,"value":25.4530888,"weightedAverage":25.4530888}},"metadata":{"timer_format_version":"0.1.0","start_time_seconds":"1713641553","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 bbb0aaf3-8271-4af0-b4cd-7f6b72fbe10b -accessToken RLm1ElgSaMlooMCc0_C3-0lLa7Ak20pME_OI2U67cZg005f","communication_protocol_version":"1.5.0","com.unity.ml-agents_version":"2.0.1","scene_name":"Racetrack mini","end_time_seconds":"1713641596"}} \ No newline at end of file +{"count":1,"self":13.996279999999999,"total":14.2774059,"children":{"InitializeActuators":{"count":1,"self":0.0019947999999999997,"total":0.0019947999999999997,"children":null},"InitializeSensors":{"count":1,"self":0.0019944,"total":0.0019944,"children":null},"AgentSendState":{"count":397,"self":0.013967799999999999,"total":0.0433698,"children":{"CollectObservations":{"count":80,"self":0.0069470999999999995,"total":0.0069470999999999995,"children":null},"WriteActionMask":{"count":80,"self":0,"total":0,"children":null},"RequestDecision":{"count":80,"self":0.0224549,"total":0.0224549,"children":null}}},"DecideAction":{"count":397,"self":0.2148486,"total":0.2158455,"children":{"RayPerceptionSensor.Perceive":{"count":160,"self":0.0009969,"total":0.0009969,"children":null}}},"AgentAct":{"count":397,"self":0.0169242,"total":0.0169242,"children":null}},"gauges":{},"metadata":{"timer_format_version":"0.1.0","start_time_seconds":"1713772813","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":"1713772828"}} \ No newline at end of file diff --git a/Assets/Prefabs/Cars/RaceCar.prefab b/Assets/Prefabs/Cars/RaceCar.prefab index d66f238..8f0b8f7 100644 --- a/Assets/Prefabs/Cars/RaceCar.prefab +++ b/Assets/Prefabs/Cars/RaceCar.prefab @@ -48,7 +48,7 @@ MonoBehaviour: wheelModel: {fileID: 2208675037575349654} WheelCollider: {fileID: 0} steerable: 1 - motorized: 1 + motorized: 0 --- !u!146 &133451452503184363 WheelCollider: m_ObjectHideFlags: 0 @@ -224,7 +224,7 @@ MonoBehaviour: wheelModel: {fileID: 3351966752540482600} WheelCollider: {fileID: 0} steerable: 1 - motorized: 1 + motorized: 0 --- !u!146 &3083305290984775741 WheelCollider: m_ObjectHideFlags: 0 @@ -306,7 +306,7 @@ Rigidbody: m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 4599203270359476959} serializedVersion: 4 - m_Mass: 1450 + m_Mass: 1600 m_Drag: 0.1 m_AngularDrag: 0 m_CenterOfMass: {x: 0, y: 0, z: 0} @@ -324,7 +324,7 @@ Rigidbody: m_IsKinematic: 0 m_Interpolate: 0 m_Constraints: 0 - m_CollisionDetection: 0 + m_CollisionDetection: 1 --- !u!114 &2357909291779874818 MonoBehaviour: m_ObjectHideFlags: 0 @@ -343,6 +343,7 @@ MonoBehaviour: steeringRange: 9 steeringRangeAtMaxSpeed: 7 autoBrake: 100 + audio: {fileID: 0} rigidBody: {fileID: 0} --- !u!1 &6494610058044814199 GameObject: diff --git a/Assets/Prefabs/Cars/StreetRacist.prefab b/Assets/Prefabs/Cars/StreetRacist.prefab new file mode 100644 index 0000000..389acb8 --- /dev/null +++ b/Assets/Prefabs/Cars/StreetRacist.prefab @@ -0,0 +1,686 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!1 &724371980642223726 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 8178736221332185993} + - component: {fileID: 5886054474059236726} + - component: {fileID: 3654902325819315192} + m_Layer: 0 + m_Name: Wheel_FR (1) + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &8178736221332185993 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 724371980642223726} + serializedVersion: 2 + m_LocalRotation: {x: 0, y: 1, z: 0, w: 0} + m_LocalPosition: {x: 0.884, y: 0.353, z: 1.32} + m_LocalScale: {x: 1, y: 1, z: 1} + m_ConstrainProportionsScale: 0 + m_Children: [] + m_Father: {fileID: 6787492584016843305} + m_LocalEulerAnglesHint: {x: 0, y: 180, z: 0} +--- !u!146 &5886054474059236726 +WheelCollider: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 724371980642223726} + serializedVersion: 2 + m_Center: {x: 0, y: 0, z: 0} + m_Radius: 0.3555168 + m_SuspensionSpring: + spring: 35000 + damper: 4500 + targetPosition: 0.5 + m_SuspensionDistance: 0.3 + m_ForceAppPointDistance: 0 + m_Mass: 20 + m_WheelDampingRate: 0.25 + 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 &3654902325819315192 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 724371980642223726} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 9901c050a200da94bbc65da2891b7708, type: 3} + m_Name: + m_EditorClassIdentifier: + wheelModel: {fileID: 2695620813191516141} + WheelCollider: {fileID: 0} + steerable: 1 + motorized: 0 +--- !u!1 &2993250439156401368 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 3021246406777660175} + - component: {fileID: 9138309151846405383} + - component: {fileID: 9139427318670831735} + m_Layer: 0 + m_Name: Wheel_BL (1) + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &3021246406777660175 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 2993250439156401368} + serializedVersion: 2 + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: -0.886, y: 0.353, z: -1.327} + m_LocalScale: {x: 1, y: 1, z: 1} + m_ConstrainProportionsScale: 0 + m_Children: [] + m_Father: {fileID: 6787492584016843305} + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!146 &9138309151846405383 +WheelCollider: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 2993250439156401368} + serializedVersion: 2 + m_Center: {x: 0, y: 0, z: 0} + m_Radius: 0.3555168 + m_SuspensionSpring: + spring: 35000 + damper: 4500 + targetPosition: 0.5 + m_SuspensionDistance: 0.3 + m_ForceAppPointDistance: 0 + m_Mass: 20 + m_WheelDampingRate: 0.25 + 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 &9139427318670831735 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 2993250439156401368} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 9901c050a200da94bbc65da2891b7708, type: 3} + m_Name: + m_EditorClassIdentifier: + wheelModel: {fileID: 3021246406777660175} + WheelCollider: {fileID: 0} + steerable: 0 + motorized: 1 +--- !u!1 &3343305849921024470 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 1090221803596404863} + - component: {fileID: 1929790857927811850} + - component: {fileID: 8561609910625013332} + m_Layer: 0 + m_Name: StreetRacist + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &1090221803596404863 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 3343305849921024470} + serializedVersion: 2 + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: -6.7737403, y: -4.7531476, z: 1.0317696} + m_LocalScale: {x: 0.25, y: 0.25, z: 0.25} + m_ConstrainProportionsScale: 0 + m_Children: + - {fileID: 6787492584016843305} + - {fileID: 1098514201299276683} + - {fileID: 3875967997608297428} + m_Father: {fileID: 0} + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!114 &1929790857927811850 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 3343305849921024470} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 58d3a2623a4164b4bb25683edc176b03, type: 3} + m_Name: + m_EditorClassIdentifier: + motorTorque: 2000 + brakeTorque: 2000 + maxSpeed: 20 + steeringRange: 30 + steeringRangeAtMaxSpeed: 10 + autoBrake: 0 + lookat: {fileID: 8764419593260817307} + audio: {fileID: 2596011702013363691} + rigidBody: {fileID: 0} +--- !u!54 &8561609910625013332 +Rigidbody: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 3343305849921024470} + 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: 1 + m_ImplicitTensor: 1 + m_UseGravity: 1 + m_IsKinematic: 0 + m_Interpolate: 0 + m_Constraints: 0 + m_CollisionDetection: 0 +--- !u!1 &5449209354807011024 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 3215875682596354958} + - component: {fileID: 2778594987251324940} + - component: {fileID: 8206087856999120980} + m_Layer: 0 + m_Name: Wheel_BR (1) + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &3215875682596354958 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 5449209354807011024} + serializedVersion: 2 + m_LocalRotation: {x: 0, y: 1, z: 0, w: 0} + m_LocalPosition: {x: 0.884, y: 0.353, z: -1.327} + m_LocalScale: {x: 1, y: 1, z: 1} + m_ConstrainProportionsScale: 0 + m_Children: [] + m_Father: {fileID: 6787492584016843305} + m_LocalEulerAnglesHint: {x: 0, y: 180, z: 0} +--- !u!146 &2778594987251324940 +WheelCollider: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 5449209354807011024} + serializedVersion: 2 + m_Center: {x: 0, y: 0, z: 0} + m_Radius: 0.3555168 + m_SuspensionSpring: + spring: 35000 + damper: 4500 + targetPosition: 0.5 + m_SuspensionDistance: 0.3 + m_ForceAppPointDistance: 0 + m_Mass: 20 + m_WheelDampingRate: 0.25 + 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 &8206087856999120980 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 5449209354807011024} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 9901c050a200da94bbc65da2891b7708, type: 3} + m_Name: + m_EditorClassIdentifier: + wheelModel: {fileID: 2020198284907806557} + WheelCollider: {fileID: 0} + steerable: 0 + motorized: 1 +--- !u!1 &5621188764655936775 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 2972757537974154108} + - component: {fileID: 2577445029989889595} + - component: {fileID: 8331570931183511810} + m_Layer: 0 + m_Name: Wheel_FL (1) + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &2972757537974154108 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 5621188764655936775} + serializedVersion: 2 + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: -0.886, y: 0.353, z: 1.323} + m_LocalScale: {x: 1, y: 1, z: 1} + m_ConstrainProportionsScale: 0 + m_Children: [] + m_Father: {fileID: 6787492584016843305} + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!146 &2577445029989889595 +WheelCollider: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 5621188764655936775} + serializedVersion: 2 + m_Center: {x: 0, y: 0, z: 0} + m_Radius: 0.3555168 + m_SuspensionSpring: + spring: 35000 + damper: 4500 + targetPosition: 0.5 + m_SuspensionDistance: 0.3 + m_ForceAppPointDistance: 0 + m_Mass: 20 + m_WheelDampingRate: 0.25 + 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 &8331570931183511810 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 5621188764655936775} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 9901c050a200da94bbc65da2891b7708, type: 3} + m_Name: + m_EditorClassIdentifier: + wheelModel: {fileID: 716333724680151082} + WheelCollider: {fileID: 0} + steerable: 1 + motorized: 0 +--- !u!1 &8764419593260817307 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 3875967997608297428} + m_Layer: 0 + m_Name: LookAt + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &3875967997608297428 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 8764419593260817307} + serializedVersion: 2 + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: 0, y: 1, z: 4} + m_LocalScale: {x: 0.25, y: 0.25, z: 0.25} + m_ConstrainProportionsScale: 0 + m_Children: [] + m_Father: {fileID: 1090221803596404863} + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!1 &8838989269829339401 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 1098514201299276683} + - component: {fileID: 2596011702013363691} + m_Layer: 0 + m_Name: Audio Source + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &1098514201299276683 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 8838989269829339401} + serializedVersion: 2 + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 0.25, y: 0.25, z: 0.25} + m_ConstrainProportionsScale: 0 + m_Children: [] + m_Father: {fileID: 1090221803596404863} + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!82 &2596011702013363691 +AudioSource: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 8838989269829339401} + m_Enabled: 1 + serializedVersion: 4 + OutputAudioMixerGroup: {fileID: 0} + m_audioClip: {fileID: 8300000, guid: 03cf3a122d2eb1c4a80974b0b230c32e, type: 3} + m_PlayOnAwake: 1 + m_Volume: 1 + m_Pitch: 1 + Loop: 0 + Mute: 0 + Spatialize: 0 + SpatializePostEffects: 0 + Priority: 128 + DopplerLevel: 1 + MinDistance: 1 + MaxDistance: 500 + Pan2D: 0 + rolloffMode: 0 + BypassEffects: 0 + BypassListenerEffects: 0 + BypassReverbZones: 0 + rolloffCustomCurve: + serializedVersion: 2 + m_Curve: + - serializedVersion: 3 + time: 0 + value: 1 + inSlope: 0 + outSlope: 0 + tangentMode: 0 + weightedMode: 0 + inWeight: 0.33333334 + outWeight: 0.33333334 + - serializedVersion: 3 + time: 1 + value: 0 + inSlope: 0 + outSlope: 0 + tangentMode: 0 + weightedMode: 0 + inWeight: 0.33333334 + outWeight: 0.33333334 + m_PreInfinity: 2 + m_PostInfinity: 2 + m_RotationOrder: 4 + panLevelCustomCurve: + serializedVersion: 2 + m_Curve: + - serializedVersion: 3 + time: 0 + value: 0 + inSlope: 0 + outSlope: 0 + tangentMode: 0 + weightedMode: 0 + inWeight: 0.33333334 + outWeight: 0.33333334 + m_PreInfinity: 2 + m_PostInfinity: 2 + m_RotationOrder: 4 + spreadCustomCurve: + serializedVersion: 2 + m_Curve: + - serializedVersion: 3 + time: 0 + value: 0 + inSlope: 0 + outSlope: 0 + tangentMode: 0 + weightedMode: 0 + inWeight: 0.33333334 + outWeight: 0.33333334 + m_PreInfinity: 2 + m_PostInfinity: 2 + m_RotationOrder: 4 + reverbZoneMixCustomCurve: + serializedVersion: 2 + m_Curve: + - serializedVersion: 3 + time: 0 + value: 1 + inSlope: 0 + outSlope: 0 + tangentMode: 0 + weightedMode: 0 + inWeight: 0.33333334 + outWeight: 0.33333334 + m_PreInfinity: 2 + m_PostInfinity: 2 + m_RotationOrder: 4 +--- !u!1001 &6387229884709069617 +PrefabInstance: + m_ObjectHideFlags: 0 + serializedVersion: 2 + m_Modification: + serializedVersion: 3 + m_TransformParent: {fileID: 1090221803596404863} + m_Modifications: + - target: {fileID: 473435645620777240, guid: 329c3d78ac09e334fb65c9fe92616bc6, type: 3} + propertyPath: m_LocalPosition.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 473435645620777240, guid: 329c3d78ac09e334fb65c9fe92616bc6, type: 3} + propertyPath: m_LocalPosition.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 473435645620777240, guid: 329c3d78ac09e334fb65c9fe92616bc6, type: 3} + propertyPath: m_LocalPosition.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 473435645620777240, guid: 329c3d78ac09e334fb65c9fe92616bc6, type: 3} + propertyPath: m_LocalRotation.w + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 473435645620777240, guid: 329c3d78ac09e334fb65c9fe92616bc6, type: 3} + propertyPath: m_LocalRotation.x + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 473435645620777240, guid: 329c3d78ac09e334fb65c9fe92616bc6, type: 3} + propertyPath: m_LocalRotation.y + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 473435645620777240, guid: 329c3d78ac09e334fb65c9fe92616bc6, type: 3} + propertyPath: m_LocalRotation.z + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 473435645620777240, guid: 329c3d78ac09e334fb65c9fe92616bc6, type: 3} + propertyPath: m_LocalEulerAnglesHint.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 473435645620777240, guid: 329c3d78ac09e334fb65c9fe92616bc6, type: 3} + propertyPath: m_LocalEulerAnglesHint.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 473435645620777240, guid: 329c3d78ac09e334fb65c9fe92616bc6, type: 3} + propertyPath: m_LocalEulerAnglesHint.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 906545427714165447, guid: 329c3d78ac09e334fb65c9fe92616bc6, type: 3} + propertyPath: m_Name + value: Coupe + objectReference: {fileID: 0} + m_RemovedComponents: [] + m_RemovedGameObjects: [] + m_AddedGameObjects: + - targetCorrespondingSourceObject: {fileID: 473435645620777240, guid: 329c3d78ac09e334fb65c9fe92616bc6, type: 3} + insertIndex: -1 + addedObject: {fileID: 2972757537974154108} + - targetCorrespondingSourceObject: {fileID: 473435645620777240, guid: 329c3d78ac09e334fb65c9fe92616bc6, type: 3} + insertIndex: -1 + addedObject: {fileID: 8178736221332185993} + - targetCorrespondingSourceObject: {fileID: 473435645620777240, guid: 329c3d78ac09e334fb65c9fe92616bc6, type: 3} + insertIndex: -1 + addedObject: {fileID: 3021246406777660175} + - targetCorrespondingSourceObject: {fileID: 473435645620777240, guid: 329c3d78ac09e334fb65c9fe92616bc6, type: 3} + insertIndex: -1 + addedObject: {fileID: 3215875682596354958} + m_AddedComponents: [] + m_SourcePrefab: {fileID: 100100000, guid: 329c3d78ac09e334fb65c9fe92616bc6, type: 3} +--- !u!4 &716333724680151082 stripped +Transform: + m_CorrespondingSourceObject: {fileID: 5860047361562542875, guid: 329c3d78ac09e334fb65c9fe92616bc6, type: 3} + m_PrefabInstance: {fileID: 6387229884709069617} + m_PrefabAsset: {fileID: 0} +--- !u!4 &2020198284907806557 stripped +Transform: + m_CorrespondingSourceObject: {fileID: 4947995975456103532, guid: 329c3d78ac09e334fb65c9fe92616bc6, type: 3} + m_PrefabInstance: {fileID: 6387229884709069617} + m_PrefabAsset: {fileID: 0} +--- !u!4 &2695620813191516141 stripped +Transform: + m_CorrespondingSourceObject: {fileID: 9064403983274732764, guid: 329c3d78ac09e334fb65c9fe92616bc6, type: 3} + m_PrefabInstance: {fileID: 6387229884709069617} + m_PrefabAsset: {fileID: 0} +--- !u!4 &6787492584016843305 stripped +Transform: + m_CorrespondingSourceObject: {fileID: 473435645620777240, guid: 329c3d78ac09e334fb65c9fe92616bc6, type: 3} + m_PrefabInstance: {fileID: 6387229884709069617} + m_PrefabAsset: {fileID: 0} diff --git a/Assets/Prefabs/Cars/StreetRacist.prefab.meta b/Assets/Prefabs/Cars/StreetRacist.prefab.meta new file mode 100644 index 0000000..de96798 --- /dev/null +++ b/Assets/Prefabs/Cars/StreetRacist.prefab.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: 6fc8c7c09bd68874aa576b39459428cb +PrefabImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Prefabs/Character.prefab b/Assets/Prefabs/Character.prefab index 9da8672..1235b79 100644 --- a/Assets/Prefabs/Character.prefab +++ b/Assets/Prefabs/Character.prefab @@ -102,8 +102,12 @@ PrefabInstance: objectReference: {fileID: 0} - target: {fileID: 9509074, guid: 5e488cfd825ce044395037d93a9d8eb6, type: 3} propertyPath: m_Enabled - value: 0 + value: 1 objectReference: {fileID: 0} + - target: {fileID: 9509074, guid: 5e488cfd825ce044395037d93a9d8eb6, type: 3} + propertyPath: m_Controller + value: + objectReference: {fileID: 9100000, guid: d9c894ea49b0fb94cb28a35a699c3e94, type: 2} - target: {fileID: 13721140, guid: 5e488cfd825ce044395037d93a9d8eb6, type: 3} propertyPath: m_AABB.m_Center.y value: 0 diff --git a/Assets/Prefabs/Smaller track pieces/Cooler_wall.prefab b/Assets/Prefabs/Smaller track pieces/Cooler_wall.prefab index e433da2..8c4f5f4 100644 --- a/Assets/Prefabs/Smaller track pieces/Cooler_wall.prefab +++ b/Assets/Prefabs/Smaller track pieces/Cooler_wall.prefab @@ -103,7 +103,7 @@ BoxCollider: m_ProvidesContacts: 0 m_Enabled: 1 serializedVersion: 3 - m_Size: {x: 1, y: 1, z: 1} + m_Size: {x: 1, y: 3, z: 1} m_Center: {x: 0, y: 0, z: 0} --- !u!1 &459128367204437407 GameObject: @@ -208,7 +208,7 @@ BoxCollider: m_ProvidesContacts: 0 m_Enabled: 1 serializedVersion: 3 - m_Size: {x: 1, y: 1, z: 1} + m_Size: {x: 1, y: 3, z: 1} m_Center: {x: 0, y: 0, z: 0} --- !u!1 &578262529969721032 GameObject: @@ -313,7 +313,7 @@ BoxCollider: m_ProvidesContacts: 0 m_Enabled: 1 serializedVersion: 3 - m_Size: {x: 1, y: 1, z: 1} + m_Size: {x: 1, y: 3, z: 1} m_Center: {x: 0, y: 0, z: 0} --- !u!1 &1395473364031439448 GameObject: @@ -418,7 +418,7 @@ BoxCollider: m_ProvidesContacts: 0 m_Enabled: 1 serializedVersion: 3 - m_Size: {x: 1, y: 1, z: 1} + m_Size: {x: 1, y: 3, z: 1} m_Center: {x: 0, y: 0, z: 0} --- !u!1 &1399241876498596519 GameObject: @@ -555,7 +555,7 @@ BoxCollider: m_ProvidesContacts: 0 m_Enabled: 1 serializedVersion: 3 - m_Size: {x: 1, y: 1, z: 1} + m_Size: {x: 1, y: 3, z: 1} m_Center: {x: 0, y: 0, z: 0} --- !u!1 &2236563442803171912 GameObject: @@ -660,7 +660,7 @@ BoxCollider: m_ProvidesContacts: 0 m_Enabled: 1 serializedVersion: 3 - m_Size: {x: 1, y: 1, z: 1} + m_Size: {x: 1, y: 3, z: 1} m_Center: {x: 0, y: 0, z: 0} --- !u!1 &2284668429567976933 GameObject: @@ -765,7 +765,7 @@ BoxCollider: m_ProvidesContacts: 0 m_Enabled: 1 serializedVersion: 3 - m_Size: {x: 1, y: 1, z: 1} + m_Size: {x: 1, y: 3, z: 1} m_Center: {x: 0, y: 0, z: 0} --- !u!1 &4333309817580406364 GameObject: @@ -870,7 +870,7 @@ BoxCollider: m_ProvidesContacts: 0 m_Enabled: 1 serializedVersion: 3 - m_Size: {x: 1, y: 1, z: 1} + m_Size: {x: 1, y: 3, z: 1} m_Center: {x: 0, y: 0, z: 0} --- !u!1 &4799147464186597151 GameObject: @@ -975,7 +975,7 @@ BoxCollider: m_ProvidesContacts: 0 m_Enabled: 1 serializedVersion: 3 - m_Size: {x: 1, y: 1, z: 1} + m_Size: {x: 1, y: 3, z: 1} m_Center: {x: 0, y: 0, z: 0} --- !u!1 &5556588021684171098 GameObject: @@ -1080,7 +1080,7 @@ BoxCollider: m_ProvidesContacts: 0 m_Enabled: 1 serializedVersion: 3 - m_Size: {x: 1, y: 1, z: 1} + m_Size: {x: 1, y: 3, z: 1} m_Center: {x: 0, y: 0, z: 0} --- !u!1 &6588178926021096880 GameObject: @@ -1227,5 +1227,5 @@ BoxCollider: m_ProvidesContacts: 0 m_Enabled: 1 serializedVersion: 3 - m_Size: {x: 1, y: 1, z: 1} + m_Size: {x: 1, y: 3, z: 1} m_Center: {x: 0, y: 0, z: 0} diff --git a/Assets/Prefabs/Smaller track pieces/small_wall.prefab b/Assets/Prefabs/Smaller track pieces/small_wall.prefab index f2da28f..b33145e 100644 --- a/Assets/Prefabs/Smaller track pieces/small_wall.prefab +++ b/Assets/Prefabs/Smaller track pieces/small_wall.prefab @@ -139,7 +139,7 @@ BoxCollider: m_ProvidesContacts: 0 m_Enabled: 1 serializedVersion: 3 - m_Size: {x: 1, y: 1, z: 1} + m_Size: {x: 1, y: 3, z: 1} m_Center: {x: 0, y: 0, z: 0} --- !u!1 &4621796323366155059 GameObject: @@ -244,7 +244,7 @@ BoxCollider: m_ProvidesContacts: 0 m_Enabled: 1 serializedVersion: 3 - m_Size: {x: 1, y: 1, z: 1} + m_Size: {x: 1, y: 3, z: 1} m_Center: {x: 0, y: 0, z: 0} --- !u!1 &4743136527959347454 GameObject: @@ -349,7 +349,7 @@ BoxCollider: m_ProvidesContacts: 0 m_Enabled: 1 serializedVersion: 3 - m_Size: {x: 1, y: 1, z: 1} + m_Size: {x: 1, y: 3, z: 1} m_Center: {x: 0, y: 0, z: 0} --- !u!1 &5578194127528832592 GameObject: @@ -454,7 +454,7 @@ BoxCollider: m_ProvidesContacts: 0 m_Enabled: 1 serializedVersion: 3 - m_Size: {x: 1, y: 1, z: 1} + m_Size: {x: 1, y: 3, z: 1} m_Center: {x: 0, y: 0, z: 0} --- !u!1 &8343437117772760018 GameObject: @@ -559,5 +559,5 @@ BoxCollider: m_ProvidesContacts: 0 m_Enabled: 1 serializedVersion: 3 - m_Size: {x: 1, y: 1, z: 1} + m_Size: {x: 1, y: 3, z: 1} m_Center: {x: 0, y: 0, z: 0} diff --git a/Assets/Prefabs/Smaller track pieces/turned_wall.prefab b/Assets/Prefabs/Smaller track pieces/turned_wall.prefab index 487c51b..f1afb7c 100644 --- a/Assets/Prefabs/Smaller track pieces/turned_wall.prefab +++ b/Assets/Prefabs/Smaller track pieces/turned_wall.prefab @@ -103,7 +103,7 @@ BoxCollider: m_ProvidesContacts: 0 m_Enabled: 1 serializedVersion: 3 - m_Size: {x: 1, y: 1, z: 1} + m_Size: {x: 1, y: 3, z: 1} m_Center: {x: 0, y: 0, z: 0} --- !u!1 &335072895400653907 GameObject: @@ -208,7 +208,7 @@ BoxCollider: m_ProvidesContacts: 0 m_Enabled: 1 serializedVersion: 3 - m_Size: {x: 1, y: 1, z: 1} + m_Size: {x: 1, y: 3, z: 1} m_Center: {x: 0, y: 0, z: 0} --- !u!1 &488191229307446531 GameObject: @@ -313,7 +313,7 @@ BoxCollider: m_ProvidesContacts: 0 m_Enabled: 1 serializedVersion: 3 - m_Size: {x: 1, y: 1, z: 1} + m_Size: {x: 1, y: 3, z: 1} m_Center: {x: 0, y: 0, z: 0} --- !u!1 &1088498051973601620 GameObject: @@ -418,7 +418,7 @@ BoxCollider: m_ProvidesContacts: 0 m_Enabled: 1 serializedVersion: 3 - m_Size: {x: 1, y: 1, z: 1} + m_Size: {x: 1, y: 3, z: 1} m_Center: {x: 0, y: 0, z: 0} --- !u!1 &3595705027275571634 GameObject: @@ -523,7 +523,7 @@ BoxCollider: m_ProvidesContacts: 0 m_Enabled: 1 serializedVersion: 3 - m_Size: {x: 1, y: 1, z: 1} + m_Size: {x: 1, y: 3, z: 1} m_Center: {x: 0, y: 0, z: 0} --- !u!1 &3785211425262476087 GameObject: @@ -669,7 +669,7 @@ BoxCollider: m_ProvidesContacts: 0 m_Enabled: 1 serializedVersion: 3 - m_Size: {x: 1, y: 1, z: 1} + m_Size: {x: 1, y: 3, z: 1} m_Center: {x: 0, y: 0, z: 0} --- !u!1 &3927477449929014330 GameObject: @@ -774,7 +774,7 @@ BoxCollider: m_ProvidesContacts: 0 m_Enabled: 1 serializedVersion: 3 - m_Size: {x: 1, y: 1, z: 1} + m_Size: {x: 1, y: 3, z: 1} m_Center: {x: 0, y: 0, z: 0} --- !u!1 &4230736687610602667 GameObject: @@ -879,7 +879,7 @@ BoxCollider: m_ProvidesContacts: 0 m_Enabled: 1 serializedVersion: 3 - m_Size: {x: 1, y: 1, z: 1} + m_Size: {x: 1, y: 3, z: 1} m_Center: {x: 0, y: 0, z: 0} --- !u!1 &7398145649253034474 GameObject: @@ -984,7 +984,7 @@ BoxCollider: m_ProvidesContacts: 0 m_Enabled: 1 serializedVersion: 3 - m_Size: {x: 1, y: 1, z: 1} + m_Size: {x: 1, y: 3, z: 1} m_Center: {x: 0, y: 0, z: 0} --- !u!1 &8458384589791136946 GameObject: @@ -1089,5 +1089,5 @@ BoxCollider: m_ProvidesContacts: 0 m_Enabled: 1 serializedVersion: 3 - m_Size: {x: 1, y: 1, z: 1} + m_Size: {x: 1, y: 3, z: 1} m_Center: {x: 0, y: 0, z: 0} diff --git a/Assets/Scenes/Racetrack mini.unity b/Assets/Scenes/Racetrack mini.unity index e85bafb..482a978 100644 --- a/Assets/Scenes/Racetrack mini.unity +++ b/Assets/Scenes/Racetrack mini.unity @@ -38,7 +38,7 @@ RenderSettings: m_ReflectionIntensity: 1 m_CustomReflection: {fileID: 0} m_Sun: {fileID: 0} - m_IndirectSpecularColor: {r: 0.32107174, g: 0.21133253, b: 0.40438062, a: 1} + m_IndirectSpecularColor: {r: 0.32097125, g: 0.21131825, b: 0.40435025, a: 1} m_UseRadianceAmbientProbe: 0 --- !u!157 &3 LightmapSettings: @@ -1252,7 +1252,7 @@ PrefabInstance: objectReference: {fileID: 0} - target: {fileID: 1144658963985576444, guid: 9ffbbbe0f32e84c418118cfd82141aa5, type: 3} propertyPath: m_Enabled - value: 0 + value: 1 objectReference: {fileID: 0} - target: {fileID: 1144658963985576444, guid: 9ffbbbe0f32e84c418118cfd82141aa5, type: 3} propertyPath: m_Controller @@ -1312,7 +1312,7 @@ PrefabInstance: objectReference: {fileID: 0} - target: {fileID: 7376795614926180791, guid: 9ffbbbe0f32e84c418118cfd82141aa5, type: 3} propertyPath: m_Enabled - value: 1 + value: 0 objectReference: {fileID: 0} m_RemovedComponents: [] m_RemovedGameObjects: [] @@ -1364,7 +1364,7 @@ MonoBehaviour: m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 51244682} - m_Enabled: 0 + m_Enabled: 1 m_EditorHideFlags: 0 m_Script: {fileID: 11500000, guid: 1cf5c39eb580998489213d03ff8a6760, type: 3} m_Name: @@ -4758,6 +4758,11 @@ MonoBehaviour: animator: {fileID: 336073583} npcPrefab: {fileID: 153506, guid: 5e488cfd825ce044395037d93a9d8eb6, type: 3} audio: {fileID: 0} +--- !u!1 &350793952 stripped +GameObject: + m_CorrespondingSourceObject: {fileID: 7873748132333035523, guid: 9a80cc25f1296554a92f05347d4a024e, type: 3} + m_PrefabInstance: {fileID: 5211344267139555828} + m_PrefabAsset: {fileID: 0} --- !u!1001 &357397384 PrefabInstance: m_ObjectHideFlags: 0 @@ -26375,7 +26380,7 @@ PrefabInstance: m_Modifications: - target: {fileID: 5026680989480309367, guid: 9a80cc25f1296554a92f05347d4a024e, type: 3} propertyPath: m_LocalPosition.x - value: 62.847 + value: 63.980003 objectReference: {fileID: 0} - target: {fileID: 5026680989480309367, guid: 9a80cc25f1296554a92f05347d4a024e, type: 3} propertyPath: m_LocalPosition.y @@ -26383,7 +26388,7 @@ PrefabInstance: objectReference: {fileID: 0} - target: {fileID: 5026680989480309367, guid: 9a80cc25f1296554a92f05347d4a024e, type: 3} propertyPath: m_LocalPosition.z - value: 14.752 + value: 15.92 objectReference: {fileID: 0} - target: {fileID: 5026680989480309367, guid: 9a80cc25f1296554a92f05347d4a024e, type: 3} propertyPath: m_LocalRotation.w @@ -26421,6 +26426,10 @@ PrefabInstance: propertyPath: m_IsActive value: 1 objectReference: {fileID: 0} + - target: {fileID: 8808035500639022898, guid: 9a80cc25f1296554a92f05347d4a024e, type: 3} + propertyPath: npcPrefab + value: + objectReference: {fileID: 350793952} m_RemovedComponents: [] m_RemovedGameObjects: [] m_AddedGameObjects: [] diff --git a/Assets/Scenes/SampleScene.unity b/Assets/Scenes/SampleScene.unity index 4dcaa78..3741186 100644 --- a/Assets/Scenes/SampleScene.unity +++ b/Assets/Scenes/SampleScene.unity @@ -38,7 +38,7 @@ RenderSettings: m_ReflectionIntensity: 1 m_CustomReflection: {fileID: 0} m_Sun: {fileID: 705507994} - m_IndirectSpecularColor: {r: 0.44657898, g: 0.4964133, b: 0.5748178, a: 1} + m_IndirectSpecularColor: {r: 0.44657826, g: 0.49641263, b: 0.57481676, a: 1} m_UseRadianceAmbientProbe: 0 --- !u!157 &3 LightmapSettings: @@ -123,43 +123,143 @@ NavMeshSettings: debug: m_Flags: 0 m_NavMeshData: {fileID: 0} +--- !u!4 &320807070 stripped +Transform: + m_CorrespondingSourceObject: {fileID: 4284629084863024120, guid: d5caff8338f793c4eb4490cc52546faf, type: 3} + m_PrefabInstance: {fileID: 6862354766440944207} + m_PrefabAsset: {fileID: 0} +--- !u!1 &419924744 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 419924745} + - component: {fileID: 419924747} + - component: {fileID: 419924746} + - component: {fileID: 419924748} + m_Layer: 0 + m_Name: Camera + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &419924745 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 419924744} + serializedVersion: 2 + m_LocalRotation: {x: 0.1582769, y: 0.000000014515489, z: -0.0000000023267965, w: 0.9873948} + m_LocalPosition: {x: -1.0110086, y: 2.498014, z: -6.6273246} + m_LocalScale: {x: 1, y: 1, z: 1} + m_ConstrainProportionsScale: 0 + m_Children: [] + m_Father: {fileID: 1803867430} + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!81 &419924746 +AudioListener: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 419924744} + m_Enabled: 1 +--- !u!20 &419924747 +Camera: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 419924744} + m_Enabled: 1 + serializedVersion: 2 + m_ClearFlags: 1 + m_BackGroundColor: {r: 0.19215687, g: 0.3019608, b: 0.4745098, a: 0} + m_projectionMatrixMode: 1 + m_GateFitMode: 2 + m_FOVAxisMode: 0 + m_Iso: 200 + m_ShutterSpeed: 0.005 + m_Aperture: 16 + m_FocusDistance: 10 + m_FocalLength: 50 + m_BladeCount: 5 + m_Curvature: {x: 2, y: 11} + m_BarrelClipping: 0.25 + m_Anamorphism: 0 + m_SensorSize: {x: 36, y: 24} + m_LensShift: {x: 0, y: 0} + m_NormalizedViewPortRect: + serializedVersion: 2 + x: 0 + y: 0 + width: 1 + height: 1 + near clip plane: 0.3 + far clip plane: 1000 + field of view: 60.000004 + orthographic: 0 + orthographic size: 5 + m_Depth: 0 + m_CullingMask: + serializedVersion: 2 + m_Bits: 4294967295 + m_RenderingPath: -1 + m_TargetTexture: {fileID: 0} + m_TargetDisplay: 0 + m_TargetEye: 3 + m_HDR: 1 + m_AllowMSAA: 1 + m_AllowDynamicResolution: 0 + m_ForceIntoRT: 0 + m_OcclusionCulling: 1 + m_StereoConvergence: 10 + m_StereoSeparation: 0.022 +--- !u!114 &419924748 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 419924744} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 72ece51f2901e7445ab60da3685d6b5f, type: 3} + m_Name: + m_EditorClassIdentifier: + m_ShowDebugText: 0 + m_ShowCameraFrustum: 1 + m_IgnoreTimeScale: 0 + m_WorldUpOverride: {fileID: 0} + m_UpdateMethod: 2 + m_BlendUpdateMethod: 1 + m_DefaultBlend: + m_Style: 1 + m_Time: 2 + m_CustomCurve: + serializedVersion: 2 + m_Curve: [] + m_PreInfinity: 2 + m_PostInfinity: 2 + m_RotationOrder: 4 + m_CustomBlends: {fileID: 0} + m_CameraCutEvent: + m_PersistentCalls: + m_Calls: [] + m_CameraActivatedEvent: + m_PersistentCalls: + m_Calls: [] --- !u!1 &449437553 stripped GameObject: m_CorrespondingSourceObject: {fileID: 1144658963992784436, guid: 9ffbbbe0f32e84c418118cfd82141aa5, type: 3} m_PrefabInstance: {fileID: 5664739312409415817} m_PrefabAsset: {fileID: 0} ---- !u!1 &655394844 stripped -GameObject: - m_CorrespondingSourceObject: {fileID: 4840733166066636179, guid: 80c5f8bcfe7e033419638b39d9a278c4, type: 3} - m_PrefabInstance: {fileID: 1365911219} - m_PrefabAsset: {fileID: 0} ---- !u!114 &655394846 -MonoBehaviour: - m_ObjectHideFlags: 3 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 655394844} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: f4044717213e31446939f7bd49c896ea, type: 3} - m_Name: - m_EditorClassIdentifier: - m_TrackedObjectOffset: {x: 0, y: 0, z: 0} - m_LookaheadTime: 0 - m_LookaheadSmoothing: 0 - m_LookaheadIgnoreY: 0 - m_HorizontalDamping: 0.5 - m_VerticalDamping: 0.5 - m_ScreenX: 0.5 - m_ScreenY: 0.5 - m_DeadZoneWidth: 0 - m_DeadZoneHeight: 0 - m_SoftZoneWidth: 0.8 - m_SoftZoneHeight: 0.8 - m_BiasX: 0 - m_BiasY: 0 - m_CenterOnActivate: 1 --- !u!1 &705507993 GameObject: m_ObjectHideFlags: 0 @@ -254,120 +354,111 @@ Transform: m_Children: [] m_Father: {fileID: 0} m_LocalEulerAnglesHint: {x: 50, y: -30, z: 0} ---- !u!1001 &1365911219 -PrefabInstance: +--- !u!1 &1543181689 +GameObject: m_ObjectHideFlags: 0 - serializedVersion: 2 - m_Modification: - serializedVersion: 3 - m_TransformParent: {fileID: 0} - m_Modifications: - - target: {fileID: 320316327550477191, guid: 80c5f8bcfe7e033419638b39d9a278c4, type: 3} - propertyPath: m_LocalPosition.x - value: 1.2441272 - objectReference: {fileID: 0} - - target: {fileID: 320316327550477191, guid: 80c5f8bcfe7e033419638b39d9a278c4, type: 3} - propertyPath: m_LocalPosition.y - value: 0.3745439 - objectReference: {fileID: 0} - - target: {fileID: 320316327550477191, guid: 80c5f8bcfe7e033419638b39d9a278c4, type: 3} - propertyPath: m_LocalPosition.z - value: 4.5518675 - objectReference: {fileID: 0} - - target: {fileID: 320316327550477191, guid: 80c5f8bcfe7e033419638b39d9a278c4, type: 3} - propertyPath: m_LocalRotation.w - value: 0.9701425 - objectReference: {fileID: 0} - - target: {fileID: 320316327550477191, guid: 80c5f8bcfe7e033419638b39d9a278c4, type: 3} - propertyPath: m_LocalRotation.x - value: 0.24253568 - objectReference: {fileID: 0} - - target: {fileID: 1387890555408215438, guid: 80c5f8bcfe7e033419638b39d9a278c4, type: 3} - propertyPath: m_Name - value: Camera - objectReference: {fileID: 0} - - target: {fileID: 6331817402021486753, guid: 80c5f8bcfe7e033419638b39d9a278c4, type: 3} - propertyPath: m_LocalPosition.x - value: -2.5158076 - objectReference: {fileID: 0} - - target: {fileID: 6331817402021486753, guid: 80c5f8bcfe7e033419638b39d9a278c4, type: 3} - propertyPath: m_LocalPosition.y - value: 1.9205093 - objectReference: {fileID: 0} - - target: {fileID: 6331817402021486753, guid: 80c5f8bcfe7e033419638b39d9a278c4, type: 3} - propertyPath: m_LocalPosition.z - value: -6.9411907 - objectReference: {fileID: 0} - - target: {fileID: 6331817402021486753, guid: 80c5f8bcfe7e033419638b39d9a278c4, type: 3} - propertyPath: m_LocalRotation.w - value: 1 - objectReference: {fileID: 0} - - target: {fileID: 6331817402021486753, guid: 80c5f8bcfe7e033419638b39d9a278c4, type: 3} - propertyPath: m_LocalRotation.x - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 6331817402021486753, guid: 80c5f8bcfe7e033419638b39d9a278c4, type: 3} - propertyPath: m_LocalRotation.y - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 6331817402021486753, guid: 80c5f8bcfe7e033419638b39d9a278c4, type: 3} - propertyPath: m_LocalRotation.z - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 6331817402021486753, guid: 80c5f8bcfe7e033419638b39d9a278c4, type: 3} - propertyPath: m_LocalEulerAnglesHint.x - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 6331817402021486753, guid: 80c5f8bcfe7e033419638b39d9a278c4, type: 3} - propertyPath: m_LocalEulerAnglesHint.y - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 6331817402021486753, guid: 80c5f8bcfe7e033419638b39d9a278c4, type: 3} - propertyPath: m_LocalEulerAnglesHint.z - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 8858152487650577344, guid: 80c5f8bcfe7e033419638b39d9a278c4, type: 3} - propertyPath: m_Follow - value: - objectReference: {fileID: 1608778107} - - target: {fileID: 8858152487650577344, guid: 80c5f8bcfe7e033419638b39d9a278c4, type: 3} - propertyPath: m_LookAt - value: - objectReference: {fileID: 1608778107} - - target: {fileID: 8890610309520933432, guid: 80c5f8bcfe7e033419638b39d9a278c4, type: 3} - propertyPath: m_LocalPosition.x - value: 1.2441272 - objectReference: {fileID: 0} - - target: {fileID: 8890610309520933432, guid: 80c5f8bcfe7e033419638b39d9a278c4, type: 3} - propertyPath: m_LocalPosition.y - value: 0.3745439 - objectReference: {fileID: 0} - - target: {fileID: 8890610309520933432, guid: 80c5f8bcfe7e033419638b39d9a278c4, type: 3} - propertyPath: m_LocalPosition.z - value: 4.5518675 - objectReference: {fileID: 0} - - target: {fileID: 8890610309520933432, guid: 80c5f8bcfe7e033419638b39d9a278c4, type: 3} - propertyPath: m_LocalRotation.w - value: 0.9701425 - objectReference: {fileID: 0} - - target: {fileID: 8890610309520933432, guid: 80c5f8bcfe7e033419638b39d9a278c4, type: 3} - propertyPath: m_LocalRotation.x - value: 0.24253568 - objectReference: {fileID: 0} - m_RemovedComponents: - - {fileID: 4849827436373015423, guid: 80c5f8bcfe7e033419638b39d9a278c4, type: 3} - m_RemovedGameObjects: [] - m_AddedGameObjects: [] - m_AddedComponents: - - targetCorrespondingSourceObject: {fileID: 4840733166066636179, guid: 80c5f8bcfe7e033419638b39d9a278c4, type: 3} - insertIndex: -1 - addedObject: {fileID: 655394846} - m_SourcePrefab: {fileID: 100100000, guid: 80c5f8bcfe7e033419638b39d9a278c4, type: 3} ---- !u!4 &1608778107 stripped -Transform: - m_CorrespondingSourceObject: {fileID: 2512004550964339037, guid: e7761d102bda0a1489c474fc5bd35a47, type: 3} - m_PrefabInstance: {fileID: 7444232797940731829} + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 1543181690} + - component: {fileID: 1543181691} + m_Layer: 0 + m_Name: Virtual Camera + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &1543181690 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1543181689} + serializedVersion: 2 + m_LocalRotation: {x: 0.1582769, y: 0.000000014515489, z: -0.0000000023267965, w: 0.9873948} + m_LocalPosition: {x: -1.0110086, y: 2.498014, z: -6.6273246} + m_LocalScale: {x: 1, y: 1, z: 1} + m_ConstrainProportionsScale: 0 + m_Children: + - {fileID: 2060868858} + m_Father: {fileID: 1803867430} + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!114 &1543181691 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1543181689} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 45e653bab7fb20e499bda25e1b646fea, type: 3} + m_Name: + m_EditorClassIdentifier: + m_ExcludedPropertiesInInspector: + - m_Script + m_LockStageInInspector: + m_StreamingVersion: 20170927 + m_Priority: 10 + m_StandbyUpdate: 2 + m_LookAt: {fileID: 320807070} + m_Follow: {fileID: 320807070} + m_Lens: + FieldOfView: 60.000004 + OrthographicSize: 5 + NearClipPlane: 0.3 + FarClipPlane: 1000 + Dutch: 0 + ModeOverride: 0 + LensShift: {x: 0, y: 0} + GateFit: 2 + FocusDistance: 10 + m_SensorSize: {x: 1, y: 1} + m_Transitions: + m_BlendHint: 0 + m_InheritPosition: 0 + m_OnCameraLive: + m_PersistentCalls: + m_Calls: [] + m_LegacyBlendHint: 0 + m_ComponentOwner: {fileID: 2060868858} +--- !u!1 &1803867429 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 1803867430} + m_Layer: 0 + m_Name: Camera V2 + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &1803867430 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1803867429} + serializedVersion: 2 + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 1.0110084, y: 0.6276216, z: -0.8716441} + m_LocalScale: {x: 1, y: 1, z: 1} + m_ConstrainProportionsScale: 0 + m_Children: + - {fileID: 419924745} + - {fileID: 1543181690} + m_Father: {fileID: 0} + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} --- !u!1 &1915174277 GameObject: m_ObjectHideFlags: 0 @@ -530,6 +621,183 @@ MonoBehaviour: m_Script: {fileID: 11500000, guid: b7391613e08a1e4419083635391e73ec, type: 3} m_Name: m_EditorClassIdentifier: +--- !u!1 &2060868857 +GameObject: + m_ObjectHideFlags: 3 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 2060868858} + - component: {fileID: 2060868861} + - component: {fileID: 2060868860} + - component: {fileID: 2060868862} + m_Layer: 0 + m_Name: cm + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &2060868858 +Transform: + m_ObjectHideFlags: 3 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 2060868857} + 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: 1543181690} + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!114 &2060868860 +MonoBehaviour: + m_ObjectHideFlags: 3 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 2060868857} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: f4044717213e31446939f7bd49c896ea, type: 3} + m_Name: + m_EditorClassIdentifier: + m_TrackedObjectOffset: {x: 0, y: -0.66, z: 2} + m_LookaheadTime: 0 + m_LookaheadSmoothing: 0 + m_LookaheadIgnoreY: 0 + m_HorizontalDamping: 0.5 + m_VerticalDamping: 0.5 + m_ScreenX: 0.5 + m_ScreenY: 0.5 + m_DeadZoneWidth: 0 + m_DeadZoneHeight: 0 + m_SoftZoneWidth: 0.8 + m_SoftZoneHeight: 0.8 + m_BiasX: 0 + m_BiasY: 0 + m_CenterOnActivate: 1 +--- !u!114 &2060868861 +MonoBehaviour: + m_ObjectHideFlags: 3 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 2060868857} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: ac0b09e7857660247b1477e93731de29, type: 3} + m_Name: + m_EditorClassIdentifier: +--- !u!114 &2060868862 +MonoBehaviour: + m_ObjectHideFlags: 3 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 2060868857} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 6ad980451443d70438faac0bc6c235a0, type: 3} + m_Name: + m_EditorClassIdentifier: + m_TrackedObjectOffset: {x: 0, y: 0, z: 0} + m_LookaheadTime: 0 + m_LookaheadSmoothing: 0 + m_LookaheadIgnoreY: 0 + m_XDamping: 1 + m_YDamping: 1 + m_ZDamping: 1 + m_TargetMovementOnly: 1 + m_ScreenX: 0.5 + m_ScreenY: 0.5 + m_CameraDistance: 10 + m_DeadZoneWidth: 0 + m_DeadZoneHeight: 0 + m_DeadZoneDepth: 0 + m_UnlimitedSoftZone: 1 + m_SoftZoneWidth: 0.8 + m_SoftZoneHeight: 0.8 + m_BiasX: 0 + m_BiasY: 0 + m_CenterOnActivate: 1 + m_GroupFramingMode: 2 + m_AdjustmentMode: 0 + m_GroupFramingSize: 0.8 + m_MaxDollyIn: 5000 + m_MaxDollyOut: 5000 + m_MinimumDistance: 1 + m_MaximumDistance: 5000 + m_MinimumFOV: 3 + m_MaximumFOV: 60 + m_MinimumOrthoSize: 1 + m_MaximumOrthoSize: 5000 +--- !u!1001 &80741412746491736 +PrefabInstance: + m_ObjectHideFlags: 0 + serializedVersion: 2 + m_Modification: + serializedVersion: 3 + m_TransformParent: {fileID: 0} + m_Modifications: + - target: {fileID: 1090221803596404863, guid: 6fc8c7c09bd68874aa576b39459428cb, type: 3} + propertyPath: m_LocalPosition.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 1090221803596404863, guid: 6fc8c7c09bd68874aa576b39459428cb, type: 3} + propertyPath: m_LocalPosition.y + value: 0.5 + objectReference: {fileID: 0} + - target: {fileID: 1090221803596404863, guid: 6fc8c7c09bd68874aa576b39459428cb, type: 3} + propertyPath: m_LocalPosition.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 1090221803596404863, guid: 6fc8c7c09bd68874aa576b39459428cb, type: 3} + propertyPath: m_LocalRotation.w + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 1090221803596404863, guid: 6fc8c7c09bd68874aa576b39459428cb, type: 3} + propertyPath: m_LocalRotation.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 1090221803596404863, guid: 6fc8c7c09bd68874aa576b39459428cb, type: 3} + propertyPath: m_LocalRotation.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 1090221803596404863, guid: 6fc8c7c09bd68874aa576b39459428cb, type: 3} + propertyPath: m_LocalRotation.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 1090221803596404863, guid: 6fc8c7c09bd68874aa576b39459428cb, type: 3} + propertyPath: m_LocalEulerAnglesHint.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 1090221803596404863, guid: 6fc8c7c09bd68874aa576b39459428cb, type: 3} + propertyPath: m_LocalEulerAnglesHint.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 1090221803596404863, guid: 6fc8c7c09bd68874aa576b39459428cb, type: 3} + propertyPath: m_LocalEulerAnglesHint.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 1929790857927811850, guid: 6fc8c7c09bd68874aa576b39459428cb, type: 3} + propertyPath: m_Enabled + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3343305849921024470, guid: 6fc8c7c09bd68874aa576b39459428cb, type: 3} + propertyPath: m_Name + value: StreetRacist + objectReference: {fileID: 0} + m_RemovedComponents: [] + m_RemovedGameObjects: [] + m_AddedGameObjects: [] + m_AddedComponents: [] + m_SourcePrefab: {fileID: 100100000, guid: 6fc8c7c09bd68874aa576b39459428cb, type: 3} --- !u!1001 &1328367594557032345 PrefabInstance: m_ObjectHideFlags: 0 @@ -538,6 +806,14 @@ PrefabInstance: serializedVersion: 3 m_TransformParent: {fileID: 0} m_Modifications: + - target: {fileID: 3239213433477781764, guid: 5851f609a58dc884a99030da0105c6db, type: 3} + propertyPath: m_ImplicitCom + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 5418785709807611868, guid: 5851f609a58dc884a99030da0105c6db, type: 3} + propertyPath: m_Enabled + value: 0 + objectReference: {fileID: 0} - target: {fileID: 5420764024659664985, guid: 5851f609a58dc884a99030da0105c6db, type: 3} propertyPath: m_LocalPosition.x value: -4.25 @@ -709,15 +985,15 @@ PrefabInstance: m_Modifications: - target: {fileID: 4284629084863024120, guid: d5caff8338f793c4eb4490cc52546faf, type: 3} propertyPath: m_LocalPosition.x - value: -0.84874344 + value: 0 objectReference: {fileID: 0} - target: {fileID: 4284629084863024120, guid: d5caff8338f793c4eb4490cc52546faf, type: 3} propertyPath: m_LocalPosition.y - value: 2.2610517 + value: 0 objectReference: {fileID: 0} - target: {fileID: 4284629084863024120, guid: d5caff8338f793c4eb4490cc52546faf, type: 3} propertyPath: m_LocalPosition.z - value: 3.6392493 + value: 2 objectReference: {fileID: 0} - target: {fileID: 4284629084863024120, guid: d5caff8338f793c4eb4490cc52546faf, type: 3} propertyPath: m_LocalRotation.w @@ -808,6 +1084,10 @@ PrefabInstance: propertyPath: m_Name value: Truck objectReference: {fileID: 0} + - target: {fileID: 5061132905868936189, guid: e7761d102bda0a1489c474fc5bd35a47, type: 3} + propertyPath: m_Enabled + value: 0 + objectReference: {fileID: 0} m_RemovedComponents: [] m_RemovedGameObjects: [] m_AddedGameObjects: [] @@ -824,4 +1104,5 @@ SceneRoots: - {fileID: 6862354766440944207} - {fileID: 7444232797940731829} - {fileID: 5664739312409415817} - - {fileID: 1365911219} + - {fileID: 80741412746491736} + - {fileID: 1803867430} diff --git a/Assets/Scripts/NPC improved.cs b/Assets/Scripts/NPC improved.cs index f4440a5..db4e691 100644 --- a/Assets/Scripts/NPC improved.cs +++ b/Assets/Scripts/NPC improved.cs @@ -19,8 +19,12 @@ public class NPCimproved : MonoBehaviour { if (walking) { - npcPrefab.transform.position += new Vector3(00,0,0.005f); + //npcPrefab.transform.position += new Vector3(0,0,0.005f); + npcPrefab.transform.position += transform.forward * Time.deltaTime; } + + //animator.SetBool("IsTurning", false); + } @@ -34,10 +38,12 @@ public class NPCimproved : MonoBehaviour animator.runtimeAnimatorController = Resources.Load("m_Controller") as RuntimeAnimatorController; walking = false; } + } + if (col.gameObject.tag == "Wall") + { + npcPrefab.transform.eulerAngles += new Vector3(0,180,0); - - } } } diff --git a/Assets/Scripts/InputController.cs b/Assets/Scripts/Unused/InputController.cs similarity index 100% rename from Assets/Scripts/InputController.cs rename to Assets/Scripts/Unused/InputController.cs diff --git a/Assets/Scripts/InputController.cs.meta b/Assets/Scripts/Unused/InputController.cs.meta similarity index 100% rename from Assets/Scripts/InputController.cs.meta rename to Assets/Scripts/Unused/InputController.cs.meta diff --git a/Assets/Scripts/car control v2.cs b/Assets/Scripts/car control v2.cs index fea0339..fe7207c 100644 --- a/Assets/Scripts/car control v2.cs +++ b/Assets/Scripts/car control v2.cs @@ -12,7 +12,7 @@ public class carcontrolv2 : MonoBehaviour public float autoBrake; - public GameObject lookat; + //public GameObject lookat; public AudioSource audio; WheelControl[] wheels; @@ -118,7 +118,7 @@ public class carcontrolv2 : MonoBehaviour } - lookat.transform.localPosition = new Vector3 (THINP*1.5f,1,4); + //lookat.transform.localPosition = new Vector3 (THINP*1.5f,1,4); }