From cdbdbac1e7040b7e0ea8aca17b7538d21771d616 Mon Sep 17 00:00:00 2001 From: Hugo Locurcio Date: Fri, 17 Nov 2023 20:00:33 +0100 Subject: [PATCH] Add mobile controls and optimized settings to Truck Town On mobile platforms, the vehicle automatically accelerates. Touch the left and right edges of the screen to steer. Touch the middle of the screen to brake/reverse (this also temporarily stops acceleration). - Fix braking not working correctly (and make breaking stronger to make vehicles easier to control at high speeds). - Allow using the D-Pad for steering and X/Square for braking. - Tweak exhaust particles to be more subtle and fade more smoothly. - Change spawn position to a location that's more straightforward to drive. --- 3d/truck_town/README.md | 12 +- 3d/truck_town/car_select/car_select.tscn | 11 +- .../car_select/choose_tow.png.import | 2 +- .../car_select/choose_trailer.png.import | 2 +- .../car_select/choose_van.png.import | 2 +- 3d/truck_town/project.godot | 61 +++++----- .../town/materials/cement.webp.import | 2 +- .../town/materials/grass.webp.import | 2 +- 3d/truck_town/town/town_scene.tscn | 81 ++++++++++++- 3d/truck_town/town/truck_town.glb.import | 2 + 3d/truck_town/vehicles/blob_shadow.png.import | 2 +- 3d/truck_town/vehicles/car_base.tscn | 17 ++- .../vehicles/meshes/meshes.glb.import | 2 + 3d/truck_town/vehicles/meshes/minivan.res | Bin 12063 -> 11823 bytes 3d/truck_town/vehicles/meshes/tow_truck.res | Bin 13958 -> 13800 bytes 3d/truck_town/vehicles/meshes/truck_cab.res | Bin 12498 -> 12194 bytes .../vehicles/meshes/truck_trailer.res | Bin 15524 -> 15402 bytes 3d/truck_town/vehicles/meshes/wheel.res | Bin 18675 -> 17761 bytes .../vehicles/particle_smoke.png.import | 2 +- 3d/truck_town/vehicles/tow_truck.tscn | 19 ++- 3d/truck_town/vehicles/trailer_truck.tscn | 108 ++++++++++++++++-- .../vehicles/truck_trailer.png.import | 2 +- 3d/truck_town/vehicles/vehicle.gd | 31 +++-- 23 files changed, 279 insertions(+), 81 deletions(-) diff --git a/3d/truck_town/README.md b/3d/truck_town/README.md index c2fd50cb..5723ae28 100644 --- a/3d/truck_town/README.md +++ b/3d/truck_town/README.md @@ -6,16 +6,20 @@ varying complexity using vehicle physics. Controls: - Up Arrow, W, Gamepad Right Trigger, Gamepad A/Cross: Accelerate -- Down Arrow, S, Gamepad Left Trigger, Gamepad B/Circle : Brake -- Left Arrow, Gamepad Left Stick: Steer left -- Right Arrow, Gamepad Left Stick: Steer right +- Down Arrow, S, Gamepad Left Trigger, Gamepad B/Circle, Gamepad X/Square: Brake/reverse +- Left Arrow, Gamepad Left Stick, Gamepad D-Pad Left: Steer left +- Right Arrow, Gamepad Left Stick, Gamepad D-Pad Right: Steer right - U, Gamepad Select, left-click speedometer: Change speedometer unit (m/s, km/h, mph) - C, Gamepad Y/Triangle: Change camera (exterior, interior, top-down) - Escape, Gamepad D-Pad Up: Go back to menu (press again to exit) +On mobile platforms, the vehicle automatically accelerates. Touch the left and +right edges of the screen to steer. Touch the middle of the screen to +brake/reverse (this also temporarily stops acceleration). + Language: GDScript -Renderer: Forward Plus +Renderer: Forward+ on desktop, Mobile on mobile Check out this demo on the asset library: https://godotengine.org/asset-library/asset/524 diff --git a/3d/truck_town/car_select/car_select.tscn b/3d/truck_town/car_select/car_select.tscn index a3e180f2..4732971a 100644 --- a/3d/truck_town/car_select/car_select.tscn +++ b/3d/truck_town/car_select/car_select.tscn @@ -29,7 +29,7 @@ size_flags_vertical = 2 script = ExtResource("1") [node name="HBoxContainer" type="HBoxContainer" parent="."] -anchors_preset = 14 +layout_mode = 0 anchor_top = 0.5 anchor_right = 1.0 anchor_bottom = 0.5 @@ -38,22 +38,25 @@ grow_vertical = 2 alignment = 1 [node name="MiniVan" type="Button" parent="HBoxContainer"] +layout_mode = 2 size_flags_horizontal = 6 size_flags_vertical = 4 icon = ExtResource("2") [node name="TrailerTruck" type="Button" parent="HBoxContainer"] +layout_mode = 2 size_flags_horizontal = 6 size_flags_vertical = 4 icon = ExtResource("3") [node name="TowTruck" type="Button" parent="HBoxContainer"] +layout_mode = 2 size_flags_horizontal = 6 size_flags_vertical = 4 icon = ExtResource("4") [node name="Label" type="Label" parent="."] -anchors_preset = 5 +layout_mode = 0 anchor_left = 0.5 anchor_right = 0.5 offset_left = -180.0 @@ -62,8 +65,12 @@ offset_right = 180.0 offset_bottom = 123.0 grow_horizontal = 2 theme_override_colors/font_color = Color(0.494118, 0.858824, 0.960784, 1) +theme_override_colors/font_shadow_color = Color(0, 0.25098, 1, 0.12549) theme_override_colors/font_outline_color = Color(0.105882, 0.278431, 0.47451, 1) +theme_override_constants/shadow_offset_x = 6 +theme_override_constants/shadow_offset_y = 6 theme_override_constants/outline_size = 38 +theme_override_constants/shadow_outline_size = 38 theme_override_fonts/font = SubResource("FontVariation_hqcvw") theme_override_font_sizes/font_size = 64 text = "Truck Town" diff --git a/3d/truck_town/car_select/choose_tow.png.import b/3d/truck_town/car_select/choose_tow.png.import index 7e186afb..0224a39a 100644 --- a/3d/truck_town/car_select/choose_tow.png.import +++ b/3d/truck_town/car_select/choose_tow.png.import @@ -16,9 +16,9 @@ dest_files=["res://.godot/imported/choose_tow.png-e1d5f4ba7eb707eed82d65f6944c64 [params] compress/mode=0 +compress/high_quality=false compress/lossy_quality=0.7 compress/hdr_compression=1 -compress/bptc_ldr=0 compress/normal_map=0 compress/channel_pack=0 mipmaps/generate=false diff --git a/3d/truck_town/car_select/choose_trailer.png.import b/3d/truck_town/car_select/choose_trailer.png.import index 93b97a61..ba3b1a34 100644 --- a/3d/truck_town/car_select/choose_trailer.png.import +++ b/3d/truck_town/car_select/choose_trailer.png.import @@ -16,9 +16,9 @@ dest_files=["res://.godot/imported/choose_trailer.png-42b178b0fc9d742f9f23bb1d9f [params] compress/mode=0 +compress/high_quality=false compress/lossy_quality=0.7 compress/hdr_compression=1 -compress/bptc_ldr=0 compress/normal_map=0 compress/channel_pack=0 mipmaps/generate=false diff --git a/3d/truck_town/car_select/choose_van.png.import b/3d/truck_town/car_select/choose_van.png.import index 54971de4..a627ecbb 100644 --- a/3d/truck_town/car_select/choose_van.png.import +++ b/3d/truck_town/car_select/choose_van.png.import @@ -16,9 +16,9 @@ dest_files=["res://.godot/imported/choose_van.png-a2669a1a5e1faa5c8245c7e87ce8c4 [params] compress/mode=0 +compress/high_quality=false compress/lossy_quality=0.7 compress/hdr_compression=1 -compress/bptc_ldr=0 compress/normal_map=0 compress/channel_pack=0 mipmaps/generate=false diff --git a/3d/truck_town/project.godot b/3d/truck_town/project.godot index c480c9d4..86333a60 100644 --- a/3d/truck_town/project.godot +++ b/3d/truck_town/project.godot @@ -13,10 +13,10 @@ config_version=5 config/name="Truck Town" config/description="This is a demo implementing different types of trucks of varying complexity using vehicle physics." -run/main_scene="res://car_select/car_select.tscn" -config/features=PackedStringArray("4.0") -config/icon="res://icon.webp" config/tags=PackedStringArray("3d", "demo", "official", "physics", "vehicle") +run/main_scene="res://car_select/car_select.tscn" +config/features=PackedStringArray("4.1") +config/icon="res://icon.webp" [display] @@ -27,117 +27,120 @@ window/stretch/aspect="expand" ui_accept={ "deadzone": 0.5, -"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":32,"physical_keycode":0,"unicode":0,"echo":false,"script":null) -, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":4194309,"unicode":0,"echo":false,"script":null) +"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":32,"physical_keycode":0,"key_label":0,"unicode":0,"echo":false,"script":null) +, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":4194309,"key_label":0,"unicode":0,"echo":false,"script":null) , Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":-1,"button_index":0,"pressure":0.0,"pressed":false,"script":null) ] } ui_select={ "deadzone": 0.5, -"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":32,"physical_keycode":0,"unicode":0,"echo":false,"script":null) -, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":4194309,"unicode":0,"echo":false,"script":null) +"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":32,"physical_keycode":0,"key_label":0,"unicode":0,"echo":false,"script":null) +, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":4194309,"key_label":0,"unicode":0,"echo":false,"script":null) , Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":-1,"button_index":3,"pressure":0.0,"pressed":false,"script":null) ] } ui_cancel={ "deadzone": 0.5, "events": [Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":-1,"button_index":1,"pressure":0.0,"pressed":false,"script":null) -, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":4194305,"unicode":0,"echo":false,"script":null) +, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":4194305,"key_label":0,"unicode":0,"echo":false,"script":null) ] } ui_focus_next={ "deadzone": 0.5, -"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":4194306,"unicode":0,"echo":false,"script":null) +"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":4194306,"key_label":0,"unicode":0,"echo":false,"script":null) ] } ui_focus_prev={ "deadzone": 0.5, -"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"window_id":0,"alt_pressed":false,"shift_pressed":true,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":4194306,"unicode":0,"echo":false,"script":null) +"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"window_id":0,"alt_pressed":false,"shift_pressed":true,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":4194306,"key_label":0,"unicode":0,"echo":false,"script":null) ] } ui_left={ "deadzone": 0.5, -"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":4194319,"unicode":0,"echo":false,"script":null) +"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":4194319,"key_label":0,"unicode":0,"echo":false,"script":null) , Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":-1,"button_index":14,"pressure":0.0,"pressed":false,"script":null) , Object(InputEventJoypadMotion,"resource_local_to_scene":false,"resource_name":"","device":-1,"axis":0,"axis_value":-1.0,"script":null) ] } ui_right={ "deadzone": 0.5, -"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":4194321,"unicode":0,"echo":false,"script":null) +"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":4194321,"key_label":0,"unicode":0,"echo":false,"script":null) , Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":-1,"button_index":15,"pressure":0.0,"pressed":false,"script":null) , Object(InputEventJoypadMotion,"resource_local_to_scene":false,"resource_name":"","device":-1,"axis":0,"axis_value":1.0,"script":null) ] } ui_up={ "deadzone": 0.5, -"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":4194320,"unicode":0,"echo":false,"script":null) +"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":4194320,"key_label":0,"unicode":0,"echo":false,"script":null) , Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":-1,"button_index":12,"pressure":0.0,"pressed":false,"script":null) , Object(InputEventJoypadMotion,"resource_local_to_scene":false,"resource_name":"","device":-1,"axis":1,"axis_value":-1.0,"script":null) ] } ui_down={ "deadzone": 0.5, -"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":4194322,"unicode":0,"echo":false,"script":null) +"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":4194322,"key_label":0,"unicode":0,"echo":false,"script":null) , Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":-1,"button_index":13,"pressure":0.0,"pressed":false,"script":null) , Object(InputEventJoypadMotion,"resource_local_to_scene":false,"resource_name":"","device":-1,"axis":1,"axis_value":1.0,"script":null) ] } ui_page_up={ "deadzone": 0.5, -"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":4194323,"physical_keycode":0,"unicode":0,"echo":false,"script":null) +"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":4194323,"physical_keycode":0,"key_label":0,"unicode":0,"echo":false,"script":null) ] } ui_page_down={ "deadzone": 0.5, -"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":4194324,"physical_keycode":0,"unicode":0,"echo":false,"script":null) +"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":4194324,"physical_keycode":0,"key_label":0,"unicode":0,"echo":false,"script":null) ] } accelerate={ "deadzone": 0.2, -"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":87,"unicode":0,"echo":false,"script":null) -, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":4194320,"unicode":0,"echo":false,"script":null) +"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":87,"key_label":0,"unicode":0,"echo":false,"script":null) +, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":4194320,"key_label":0,"unicode":0,"echo":false,"script":null) , Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":-1,"button_index":0,"pressure":0.0,"pressed":false,"script":null) , Object(InputEventJoypadMotion,"resource_local_to_scene":false,"resource_name":"","device":-1,"axis":5,"axis_value":1.0,"script":null) ] } reverse={ "deadzone": 0.2, -"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":83,"unicode":0,"echo":false,"script":null) -, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":4194322,"unicode":0,"echo":false,"script":null) +"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":83,"key_label":0,"unicode":0,"echo":false,"script":null) +, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":4194322,"key_label":0,"unicode":0,"echo":false,"script":null) +, Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":-1,"button_index":2,"pressure":0.0,"pressed":false,"script":null) , Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":-1,"button_index":1,"pressure":0.0,"pressed":false,"script":null) , Object(InputEventJoypadMotion,"resource_local_to_scene":false,"resource_name":"","device":-1,"axis":4,"axis_value":1.0,"script":null) ] } turn_left={ "deadzone": 0.2, -"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":65,"unicode":0,"echo":false,"script":null) -, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":4194319,"unicode":0,"echo":false,"script":null) +"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":65,"key_label":0,"unicode":0,"echo":false,"script":null) +, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":4194319,"key_label":0,"unicode":0,"echo":false,"script":null) , Object(InputEventJoypadMotion,"resource_local_to_scene":false,"resource_name":"","device":-1,"axis":0,"axis_value":-1.0,"script":null) +, Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":-1,"button_index":13,"pressure":0.0,"pressed":false,"script":null) ] } turn_right={ "deadzone": 0.2, -"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":68,"unicode":0,"echo":false,"script":null) -, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":4194321,"unicode":0,"echo":false,"script":null) +"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":68,"key_label":0,"unicode":0,"echo":false,"script":null) +, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":4194321,"key_label":0,"unicode":0,"echo":false,"script":null) , Object(InputEventJoypadMotion,"resource_local_to_scene":false,"resource_name":"","device":-1,"axis":0,"axis_value":1.0,"script":null) +, Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":-1,"button_index":14,"pressure":0.0,"pressed":false,"script":null) ] } cycle_speedometer_unit={ "deadzone": 0.5, -"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":85,"unicode":0,"echo":false,"script":null) +"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":85,"key_label":0,"unicode":0,"echo":false,"script":null) , Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":-1,"button_index":4,"pressure":0.0,"pressed":false,"script":null) ] } back={ "deadzone": 0.5, -"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":4194305,"unicode":0,"echo":false,"script":null) +"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":4194305,"key_label":0,"unicode":0,"echo":false,"script":null) , Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":-1,"button_index":11,"pressure":0.0,"pressed":false,"script":null) ] } cycle_camera={ "deadzone": 0.5, -"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":67,"unicode":0,"echo":false,"script":null) +"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":67,"key_label":0,"unicode":0,"echo":false,"script":null) , Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":-1,"button_index":3,"pressure":0.0,"pressed":false,"script":null) ] } @@ -152,8 +155,10 @@ shadow_filter=3 [rendering] +textures/vram_compression/import_etc2_astc=true lights_and_shadows/directional_shadow/size=8192 lights_and_shadows/directional_shadow/soft_shadow_filter_quality=3 +lights_and_shadows/directional_shadow/soft_shadow_filter_quality.mobile=1 textures/default_filters/anisotropic_filtering_level=4 textures/default_filters/texture_mipmap_bias=-0.5 textures/decals/filter=1 @@ -161,3 +166,5 @@ environment/defaults/default_clear_color=Color(0.133333, 0.133333, 0.133333, 1) anti_aliasing/quality/msaa_3d=2 anti_aliasing/quality/use_debanding=true environment/default_environment="res://default_env.tres" +anti_aliasing/quality/msaa_3d.mobile=0 +scaling_3d/scale.mobile=0.67 diff --git a/3d/truck_town/town/materials/cement.webp.import b/3d/truck_town/town/materials/cement.webp.import index cc51e96f..c0cd93cc 100644 --- a/3d/truck_town/town/materials/cement.webp.import +++ b/3d/truck_town/town/materials/cement.webp.import @@ -16,9 +16,9 @@ dest_files=["res://.godot/imported/cement.webp-a59028ca151ccfb7e6020be6c141b163. [params] compress/mode=0 +compress/high_quality=false compress/lossy_quality=0.7 compress/hdr_compression=1 -compress/bptc_ldr=0 compress/normal_map=0 compress/channel_pack=0 mipmaps/generate=true diff --git a/3d/truck_town/town/materials/grass.webp.import b/3d/truck_town/town/materials/grass.webp.import index 246e9975..7b2cd77f 100644 --- a/3d/truck_town/town/materials/grass.webp.import +++ b/3d/truck_town/town/materials/grass.webp.import @@ -16,9 +16,9 @@ dest_files=["res://.godot/imported/grass.webp-0ccf2a619a3f121234da585c8abbfdba.c [params] compress/mode=0 +compress/high_quality=false compress/lossy_quality=0.7 compress/hdr_compression=1 -compress/bptc_ldr=0 compress/normal_map=0 compress/channel_pack=0 mipmaps/generate=true diff --git a/3d/truck_town/town/town_scene.tscn b/3d/truck_town/town/town_scene.tscn index dc7effbb..c11808a3 100644 --- a/3d/truck_town/town/town_scene.tscn +++ b/3d/truck_town/town/town_scene.tscn @@ -1,4 +1,4 @@ -[gd_scene load_steps=32 format=3 uid="uid://d0ygmqpylq0wy"] +[gd_scene load_steps=36 format=3 uid="uid://d0ygmqpylq0wy"] [ext_resource type="PackedScene" uid="uid://dfdgytsvtqxwv" path="res://town/truck_town.glb" id="1_x0dmm"] [ext_resource type="Script" path="res://spedometer.gd" id="2"] @@ -12,6 +12,24 @@ action = &"cycle_speedometer_unit" [sub_resource type="Shortcut" id="Shortcut_msvqx"] events = [SubResource("InputEventAction_a4722")] +[sub_resource type="Gradient" id="Gradient_jks6h"] +offsets = PackedFloat32Array(0) +colors = PackedColorArray(1, 1, 1, 0.25098) + +[sub_resource type="GradientTexture2D" id="GradientTexture2D_m8ylb"] +gradient = SubResource("Gradient_jks6h") +width = 128 +height = 128 + +[sub_resource type="Gradient" id="Gradient_1rnu2"] +offsets = PackedFloat32Array(0.00645161) +colors = PackedColorArray(1, 0, 0, 0.25098) + +[sub_resource type="GradientTexture2D" id="GradientTexture2D_xu6xc"] +gradient = SubResource("Gradient_1rnu2") +width = 128 +height = 128 + [sub_resource type="BoxMesh" id="BoxMesh_x3c0g"] size = Vector3(4096, 1, 4096) @@ -102,7 +120,7 @@ data = PackedVector3Array(-2, 1, 2, 2, -1, 2, -2, -1, 2, -2, 1, -2, -2, -1, -2, [node name="TruckTown" parent="." instance=ExtResource("1_x0dmm")] [node name="InstancePos" type="Marker3D" parent="."] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 14, 6, -40) +transform = Transform3D(1.31134e-07, 0, -1, 0, 1, 0, 1, 0, 1.31134e-07, 8, 3.36405, -16) [node name="Spedometer" type="Button" parent="."] custom_minimum_size = Vector2(140, 40) @@ -118,10 +136,10 @@ offset_bottom = -24.0 grow_horizontal = 0 grow_vertical = 0 focus_mode = 0 -shortcut_in_tooltip = false action_mode = 0 shortcut = SubResource("Shortcut_msvqx") shortcut_feedback = false +shortcut_in_tooltip = false text = "Speed: ???" script = ExtResource("2") @@ -132,6 +150,63 @@ offset_right = 92.0 offset_bottom = 56.0 text = "« Back" +[node name="TouchTurnLeft" type="Control" parent="."] +layout_mode = 3 +anchors_preset = 4 +anchor_top = 0.5 +anchor_bottom = 0.5 +grow_vertical = 2 + +[node name="TurnLeft" type="TouchScreenButton" parent="TouchTurnLeft"] +modulate = Color(1, 1, 1, 0) +position = Vector2(0, -256) +scale = Vector2(2.5, 4) +texture_normal = SubResource("GradientTexture2D_m8ylb") +texture_pressed = SubResource("GradientTexture2D_xu6xc") +passby_press = true +action = "turn_left" +visibility_mode = 1 + +[node name="TouchReverse" type="Control" parent="."] +layout_mode = 3 +anchors_preset = 8 +anchor_left = 0.5 +anchor_top = 0.5 +anchor_right = 0.5 +anchor_bottom = 0.5 +grow_horizontal = 2 +grow_vertical = 2 + +[node name="Reverse" type="TouchScreenButton" parent="TouchReverse"] +modulate = Color(1, 1, 1, 0) +position = Vector2(-256, -256) +scale = Vector2(4, 4) +texture_normal = SubResource("GradientTexture2D_m8ylb") +texture_pressed = SubResource("GradientTexture2D_xu6xc") +passby_press = true +action = "reverse" +visibility_mode = 1 + +[node name="TouchTurnRight" type="Control" parent="."] +layout_mode = 3 +anchors_preset = 6 +anchor_left = 1.0 +anchor_top = 0.5 +anchor_right = 1.0 +anchor_bottom = 0.5 +grow_horizontal = 0 +grow_vertical = 2 + +[node name="TurnRight" type="TouchScreenButton" parent="TouchTurnRight"] +modulate = Color(1, 1, 1, 0) +position = Vector2(-320, -256) +scale = Vector2(2.5, 4) +texture_normal = SubResource("GradientTexture2D_m8ylb") +texture_pressed = SubResource("GradientTexture2D_xu6xc") +passby_press = true +action = "turn_right" +visibility_mode = 1 + [node name="Environment" type="WorldEnvironment" parent="."] environment = ExtResource("3_t0mbp") diff --git a/3d/truck_town/town/truck_town.glb.import b/3d/truck_town/town/truck_town.glb.import index c1b18e09..47ab8d84 100644 --- a/3d/truck_town/town/truck_town.glb.import +++ b/3d/truck_town/town/truck_town.glb.import @@ -26,6 +26,7 @@ skins/use_named_skins=false animation/import=false animation/fps=30 animation/trimming=false +animation/remove_immutable_tracks=true import_script/path="" _subresources={ "materials": { @@ -91,3 +92,4 @@ _subresources={ } } } +gltf/embedded_image_handling=1 diff --git a/3d/truck_town/vehicles/blob_shadow.png.import b/3d/truck_town/vehicles/blob_shadow.png.import index 4acec43d..75d4200f 100644 --- a/3d/truck_town/vehicles/blob_shadow.png.import +++ b/3d/truck_town/vehicles/blob_shadow.png.import @@ -16,9 +16,9 @@ dest_files=["res://.godot/imported/blob_shadow.png-543236f87c8fdb7d06671b1460d39 [params] compress/mode=0 +compress/high_quality=false compress/lossy_quality=0.7 compress/hdr_compression=1 -compress/bptc_ldr=0 compress/normal_map=0 compress/channel_pack=0 mipmaps/generate=false diff --git a/3d/truck_town/vehicles/car_base.tscn b/3d/truck_town/vehicles/car_base.tscn index 6830d4a9..c4839724 100644 --- a/3d/truck_town/vehicles/car_base.tscn +++ b/3d/truck_town/vehicles/car_base.tscn @@ -1,4 +1,4 @@ -[gd_scene load_steps=18 format=3 uid="uid://c1uai3rvx8hul"] +[gd_scene load_steps=19 format=3 uid="uid://c1uai3rvx8hul"] [ext_resource type="Script" path="res://vehicles/vehicle.gd" id="1_r806m"] [ext_resource type="Texture2D" uid="uid://d4ostmqwgytk" path="res://vehicles/particle_smoke.png" id="2_1gkvk"] @@ -34,9 +34,11 @@ stream_3/weight = 1.0 [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_fuuj3"] transparency = 1 shading_mode = 0 +vertex_color_use_as_albedo = true albedo_color = Color(0.462745, 0.462745, 0.462745, 0.501961) albedo_texture = ExtResource("2_1gkvk") billboard_mode = 3 +billboard_keep_scale = true particles_anim_h_frames = 1 particles_anim_v_frames = 1 particles_anim_loop = false @@ -47,9 +49,12 @@ proximity_fade_distance = 0.5 material = SubResource("StandardMaterial3D_fuuj3") [sub_resource type="Curve" id="Curve_4j5vd"] -_data = [Vector2(0, 1), 0.0, 0.0, 0, 0, Vector2(1, 0), 0.0, 0.0, 0, 0] +_data = [Vector2(0, 0), 0.0, 0.0, 0, 0, Vector2(1, 1), 0.0, 0.0, 0, 0] point_count = 2 +[sub_resource type="Gradient" id="Gradient_p5xtl"] +colors = PackedColorArray(1, 1, 1, 1, 1, 1, 1, 0) + [node name="CarBase" type="Node3D"] [node name="Body" type="VehicleBody3D" parent="."] @@ -133,7 +138,7 @@ shape = SubResource("BoxShape3D_x74tc") transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.97449, 0) [node name="Camera3D" type="Camera3D" parent="Body/CameraBase"] -transform = Transform3D(-0.709652, -0.170177, 0.683691, -2.11161e-08, 0.970391, 0.241539, -0.704552, 0.171409, -0.68864, 3.44908, 2.03236, -4.39379) +transform = Transform3D(-1, 2.11495e-08, -8.48259e-08, 0, 0.970296, 0.241922, 8.74228e-08, 0.241922, -0.970296, 0, 2.032, -4.394) fov = 74.0 near = 0.1 script = ExtResource("4_6igu8") @@ -155,7 +160,8 @@ attenuation_filter_cutoff_hz = 20500.0 [node name="CPUParticles3D" type="CPUParticles3D" parent="Body"] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.201696, -0.022867, -1.10448) -amount = 100 +amount = 125 +lifetime = 1.25 mesh = SubResource("QuadMesh_30wks") direction = Vector3(0, 1, -0.5) gravity = Vector3(0, 0, 0) @@ -165,10 +171,11 @@ damping_min = 0.05 damping_max = 0.05 angle_max = 360.0 scale_amount_curve = SubResource("Curve_4j5vd") +color_ramp = SubResource("Gradient_p5xtl") [node name="BlobShadow" type="Decal" parent="Body"] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0.05) -extents = Vector3(0.8, 2, 1.5) +size = Vector3(1.6, 4, 3) texture_albedo = ExtResource("11_3ryw5") upper_fade = 2.0 lower_fade = 1.0 diff --git a/3d/truck_town/vehicles/meshes/meshes.glb.import b/3d/truck_town/vehicles/meshes/meshes.glb.import index e6229bd5..69e0f40d 100644 --- a/3d/truck_town/vehicles/meshes/meshes.glb.import +++ b/3d/truck_town/vehicles/meshes/meshes.glb.import @@ -26,6 +26,7 @@ skins/use_named_skins=true animation/import=true animation/fps=30 animation/trimming=false +animation/remove_immutable_tracks=true import_script/path="" _subresources={ "materials": { @@ -99,3 +100,4 @@ _subresources={ } } } +gltf/embedded_image_handling=1 diff --git a/3d/truck_town/vehicles/meshes/minivan.res b/3d/truck_town/vehicles/meshes/minivan.res index 9daa5c5624384b459e7133b6a05e74fcf7be4bb4..f277790745efbfaf071a87e968355cb770837a8b 100644 GIT binary patch delta 175 zcmbOqw?0NRC^*QO0SZ`vG$RnRZWMLmVox_n$u?!Mn;gfb#$H;QpJ>Lg6vXBz%`(l) zW02vQ9M7f7VOU{Yn!(V=GntE9#xyM>**KFyh8JR-5|AoNEw<9vFH6nHOwLIy*3V5X z&Hz!Fd6{L2d3r!u28GSK+@4&MO?Z7b9~M2xIN3&5VzZ~2mtI+EvolV+J9f z$?;sO{;9bZ$>t0#JP@4{Kq@CcIWfmdU*EB)D6!HvwKyZb!lcw7kwJ(TpPJlclcXYs z$(zl&J-H^Q=!j3=D{i*=tmr|;`keffVg@;&UXbfRSnYbJoji~>0AhXyJ|HOoB>90P zKLZ;BGXoC;E0E*`(je7LK*+$r$iU6O4wMCnEVN$>)(>(lNEb*yNGC`Rrj8ZJ2I0KK z%@f2Gg&4UeH;Rf)uGTTz{7+MtsU9SS*Ij~ObA^DUAcGJPa{x`}1KR;|F)Pp>W*}q) kx{a5C6X-H@cY$;-aq?mliOua&I^vUgB*ZtLGE8Qg N9HuY2dAiAaMgZ4%Fs=Xq delta 305 zcmaEn-IgmF6ddHt00k^CdZVZl7rU8RzJVcw$>caLHTL2P3!{97RUkG;u5ogOF@qw{ zJUm>kEY#$H;QpJ>Lg0>tJh%`(l) zW02>W9M7f7VOU{Yn!zxUXEGPJjJZW&Qb8JnJTJsJ6(CiVT5P4SUzVDYnVgeate=}& zoB^atib|8S05{zxmdv0&fdCq%A%{R-aH|kZIKEB`lZ0z%3_p(^FXj7c? z^XgihG7F}yUor_4e+p_HKe15Ojvxdj*ey3R&x~@Zd z^uL;phdq`-|s!(eCRSMGs*1CUux*Z=?k diff --git a/3d/truck_town/vehicles/meshes/truck_trailer.res b/3d/truck_town/vehicles/meshes/truck_trailer.res index d363346975506728ec0e25c23c1ee4b36826e9fc..094b80a7194954c2df87a6b2422d58903ee8699a 100644 GIT binary patch delta 173 zcmZ2dxvD}mC^*QO0SZ`vG$RnRZWOKM;x;$PD#>IJN|%VVgW{EADK z)gsZr!hG@zE(Nxf+!SMmj?H}B?>Qz5^7wA{5~*a|Bqks~Io-l{bFAqUrpZ@LL?=62 ztY>0qnEb`U4@9|G`iU_#{Hm9=*Ix2x_rG`^hyVZo*Z=u@>7Z#e}%EAvsowD!~`(OX7 oUe;cF$)DZ-;&~kY|NmbP!jttZtw1WWAk;F;Bp`1ymz4q&0GI(wNB{r; diff --git a/3d/truck_town/vehicles/meshes/wheel.res b/3d/truck_town/vehicles/meshes/wheel.res index 319f5e92e4d51338d52643ad207e83d8830fef28..93653265574395f6df4e271ec60cbd93a840aa21 100644 GIT binary patch delta 6848 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 diff --git a/3d/truck_town/vehicles/particle_smoke.png.import b/3d/truck_town/vehicles/particle_smoke.png.import index 4df3e055..f4c3b2b9 100644 --- a/3d/truck_town/vehicles/particle_smoke.png.import +++ b/3d/truck_town/vehicles/particle_smoke.png.import @@ -16,9 +16,9 @@ dest_files=["res://.godot/imported/particle_smoke.png-740721ed7d039c3c932866a66d [params] compress/mode=0 +compress/high_quality=false compress/lossy_quality=0.7 compress/hdr_compression=1 -compress/bptc_ldr=0 compress/normal_map=0 compress/channel_pack=0 mipmaps/generate=true diff --git a/3d/truck_town/vehicles/tow_truck.tscn b/3d/truck_town/vehicles/tow_truck.tscn index 100ae74e..b882edda 100644 --- a/3d/truck_town/vehicles/tow_truck.tscn +++ b/3d/truck_town/vehicles/tow_truck.tscn @@ -1,4 +1,4 @@ -[gd_scene load_steps=27 format=3 uid="uid://bh7765vrq5muf"] +[gd_scene load_steps=28 format=3 uid="uid://bh7765vrq5muf"] [ext_resource type="Script" path="res://vehicles/vehicle.gd" id="1_qhfnb"] [ext_resource type="ArrayMesh" uid="uid://bqrwin8ccgptt" path="res://vehicles/meshes/wheel.res" id="2_uwuq1"] @@ -32,9 +32,11 @@ stream_3/weight = 1.0 [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_atib4"] transparency = 1 shading_mode = 0 +vertex_color_use_as_albedo = true albedo_color = Color(0.462745, 0.462745, 0.462745, 0.501961) albedo_texture = ExtResource("10_lfosv") billboard_mode = 3 +billboard_keep_scale = true particles_anim_h_frames = 1 particles_anim_v_frames = 1 particles_anim_loop = false @@ -45,9 +47,12 @@ proximity_fade_distance = 0.5 material = SubResource("StandardMaterial3D_atib4") [sub_resource type="Curve" id="Curve_kr6si"] -_data = [Vector2(0, 1), 0.0, 0.0, 0, 0, Vector2(1, 0), 0.0, 0.0, 0, 0] +_data = [Vector2(0, 0), 0.0, 0.0, 0, 0, Vector2(1, 1), 0.0, 0.0, 0, 0] point_count = 2 +[sub_resource type="Gradient" id="Gradient_38b5g"] +colors = PackedColorArray(1, 1, 1, 1, 1, 1, 1, 0) + [sub_resource type="CapsuleMesh" id="CapsuleMesh_i2aww"] radius = 0.05 height = 0.42 @@ -163,7 +168,7 @@ mesh = ExtResource("3_tv0o3") transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.97449, 0) [node name="Camera3D" type="Camera3D" parent="Body/CameraBase"] -transform = Transform3D(-0.709652, -0.170177, 0.683691, -2.11161e-08, 0.970391, 0.241539, -0.704552, 0.171409, -0.68864, 3.44908, 2.03236, -4.39379) +transform = Transform3D(-1, 2.11495e-08, -8.48259e-08, 0, 0.970296, 0.241922, 8.74227e-08, 0.241922, -0.970295, 0, 2.032, -4.394) current = true fov = 74.0 near = 0.1 @@ -191,7 +196,8 @@ attenuation_filter_cutoff_hz = 20500.0 [node name="CPUParticles3D" type="CPUParticles3D" parent="Body"] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.201696, -0.022867, -1.10448) -amount = 100 +amount = 125 +lifetime = 1.25 mesh = SubResource("QuadMesh_xsbig") direction = Vector3(0, 1, -0.5) gravity = Vector3(0, 0, 0) @@ -201,10 +207,11 @@ damping_min = 0.05 damping_max = 0.05 angle_max = 360.0 scale_amount_curve = SubResource("Curve_kr6si") +color_ramp = SubResource("Gradient_38b5g") [node name="BlobShadow" type="Decal" parent="Body"] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.00169557, -0.222867, 0.145518) -extents = Vector3(0.8, 2, 1.5) +size = Vector3(1.6, 4, 3) texture_albedo = ExtResource("11_5ul8v") upper_fade = 2.0 lower_fade = 1.0 @@ -386,7 +393,7 @@ shape = SubResource("BoxShape3D_hbuqf") [node name="BlobShadow" type="Decal" parent="Body2"] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.00169557, -0.122867, 0.0251799) -extents = Vector3(0.8, 2, 1.5) +size = Vector3(1.6, 4, 3) texture_albedo = ExtResource("11_5ul8v") upper_fade = 2.0 lower_fade = 1.0 diff --git a/3d/truck_town/vehicles/trailer_truck.tscn b/3d/truck_town/vehicles/trailer_truck.tscn index f64a48ce..71be625e 100644 --- a/3d/truck_town/vehicles/trailer_truck.tscn +++ b/3d/truck_town/vehicles/trailer_truck.tscn @@ -1,10 +1,9 @@ -[gd_scene load_steps=19 format=3 uid="uid://drinprblemj5u"] +[gd_scene load_steps=24 format=3 uid="uid://drinprblemj5u"] [ext_resource type="Script" path="res://vehicles/vehicle.gd" id="1_wetfm"] [ext_resource type="ArrayMesh" uid="uid://bqrwin8ccgptt" path="res://vehicles/meshes/wheel.res" id="2_q28iu"] [ext_resource type="ArrayMesh" uid="uid://ctglc27jx8xe2" path="res://vehicles/meshes/truck_cab.res" id="3_t1je7"] [ext_resource type="Script" path="res://vehicles/follow_camera.gd" id="4_4yhuf"] -[ext_resource type="ArrayMesh" uid="uid://d0n61oj27qnya" path="res://vehicles/meshes/truck_trailer.res" id="5_13c4b"] [ext_resource type="AudioStream" uid="uid://sy2li7u35867" path="res://vehicles/impact_1.wav" id="6_n54jl"] [ext_resource type="AudioStream" uid="uid://cb7wvsd6vygd3" path="res://vehicles/engine.wav" id="6_r21ue"] [ext_resource type="AudioStream" uid="uid://bf0h7s81yr8nj" path="res://vehicles/impact_2.wav" id="7_i1avs"] @@ -12,6 +11,7 @@ [ext_resource type="AudioStream" uid="uid://dpbayeeufya21" path="res://vehicles/impact_4.wav" id="9_11toc"] [ext_resource type="Texture2D" uid="uid://d4ostmqwgytk" path="res://vehicles/particle_smoke.png" id="10_5qary"] [ext_resource type="Texture2D" uid="uid://bju75l2w3r7vq" path="res://vehicles/blob_shadow.png" id="11_ifj1h"] +[ext_resource type="Material" uid="uid://dyg750wqca86r" path="res://vehicles/truck_trailer.tres" id="12_hbs2y"] [sub_resource type="BoxShape3D" id="BoxShape3D_itmot"] size = Vector3(1.3392, 1.04159, 2.3947) @@ -32,9 +32,11 @@ stream_3/weight = 1.0 [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_u6m2g"] transparency = 1 shading_mode = 0 +vertex_color_use_as_albedo = true albedo_color = Color(0.462745, 0.462745, 0.462745, 0.501961) albedo_texture = ExtResource("10_5qary") billboard_mode = 3 +billboard_keep_scale = true particles_anim_h_frames = 1 particles_anim_v_frames = 1 particles_anim_loop = false @@ -45,9 +47,95 @@ proximity_fade_distance = 0.5 material = SubResource("StandardMaterial3D_u6m2g") [sub_resource type="Curve" id="Curve_n4o5r"] -_data = [Vector2(0, 1), 0.0, 0.0, 0, 0, Vector2(1, 0), 0.0, 0.0, 0, 0] +_data = [Vector2(0, 0), 0.0, 0.0, 0, 0, Vector2(1, 1), 0.0, 0.0, 0, 0] point_count = 2 +[sub_resource type="Gradient" id="Gradient_cj6wi"] +colors = PackedColorArray(1, 1, 1, 1, 1, 1, 1, 0) + +[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_70jti"] +resource_name = "car_blue" +vertex_color_use_as_albedo = true +albedo_color = Color(0.0387471, 0, 0.256548, 1) +roughness = 0.6 + +[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_uj5nn"] +resource_name = "chrome" +vertex_color_use_as_albedo = true +albedo_color = Color(0.797738, 0.797738, 0.797738, 1) +metallic = 1.0 +roughness = 0.35 + +[sub_resource type="ArrayMesh" id="ArrayMesh_8a087"] +_surfaces = [{ +"aabb": AABB(-0.653809, -0.437256, -1.98144, 1.30762, 0.674683, 3.89161), +"format": 4097, +"index_count": 444, +"index_data": PackedByteArray(4, 0, 1, 0, 2, 0, 4, 0, 6, 0, 1, 0, 3, 0, 6, 0, 4, 0, 3, 0, 5, 0, 6, 0, 5, 0, 0, 0, 7, 0, 5, 0, 3, 0, 0, 0, 4, 0, 0, 0, 3, 0, 4, 0, 2, 0, 0, 0, 1, 0, 5, 0, 7, 0, 1, 0, 6, 0, 5, 0, 51, 0, 8, 0, 50, 0, 51, 0, 9, 0, 8, 0, 55, 0, 9, 0, 48, 0, 55, 0, 8, 0, 9, 0, 43, 0, 46, 0, 39, 0, 43, 0, 40, 0, 46, 0, 62, 0, 28, 0, 60, 0, 62, 0, 11, 0, 28, 0, 14, 0, 67, 0, 15, 0, 14, 0, 10, 0, 67, 0, 17, 0, 56, 0, 16, 0, 17, 0, 73, 0, 56, 0, 71, 0, 38, 0, 18, 0, 71, 0, 70, 0, 38, 0, 21, 0, 73, 0, 17, 0, 21, 0, 22, 0, 73, 0, 27, 0, 64, 0, 66, 0, 27, 0, 63, 0, 64, 0, 26, 0, 68, 0, 32, 0, 26, 0, 27, 0, 68, 0, 32, 0, 35, 0, 33, 0, 32, 0, 68, 0, 35, 0, 53, 0, 11, 0, 13, 0, 53, 0, 12, 0, 11, 0, 68, 0, 30, 0, 35, 0, 68, 0, 34, 0, 30, 0, 43, 0, 69, 0, 74, 0, 43, 0, 23, 0, 69, 0, 63, 0, 26, 0, 54, 0, 63, 0, 27, 0, 26, 0, 47, 0, 17, 0, 16, 0, 47, 0, 65, 0, 17, 0, 13, 0, 10, 0, 14, 0, 13, 0, 11, 0, 10, 0, 24, 0, 74, 0, 31, 0, 24, 0, 41, 0, 74, 0, 28, 0, 25, 0, 60, 0, 28, 0, 34, 0, 25, 0, 41, 0, 44, 0, 74, 0, 41, 0, 42, 0, 44, 0, 57, 0, 11, 0, 62, 0, 57, 0, 10, 0, 11, 0, 73, 0, 49, 0, 50, 0, 73, 0, 58, 0, 49, 0, 52, 0, 34, 0, 28, 0, 52, 0, 29, 0, 34, 0, 34, 0, 37, 0, 30, 0, 34, 0, 29, 0, 37, 0, 10, 0, 51, 0, 67, 0, 10, 0, 9, 0, 51, 0, 63, 0, 24, 0, 31, 0, 63, 0, 54, 0, 24, 0, 67, 0, 49, 0, 52, 0, 67, 0, 50, 0, 49, 0, 7, 0, 2, 0, 1, 0, 7, 0, 0, 0, 2, 0, 34, 0, 59, 0, 25, 0, 34, 0, 68, 0, 59, 0, 31, 0, 64, 0, 63, 0, 31, 0, 72, 0, 64, 0, 32, 0, 49, 0, 54, 0, 32, 0, 52, 0, 49, 0, 51, 0, 50, 0, 67, 0, 12, 0, 67, 0, 52, 0, 68, 0, 66, 0, 59, 0, 68, 0, 27, 0, 66, 0, 20, 0, 17, 0, 18, 0, 20, 0, 21, 0, 17, 0, 58, 0, 43, 0, 39, 0, 58, 0, 38, 0, 43, 0, 11, 0, 52, 0, 28, 0, 11, 0, 12, 0, 52, 0, 61, 0, 18, 0, 19, 0, 61, 0, 20, 0, 18, 0, 29, 0, 36, 0, 37, 0, 29, 0, 52, 0, 36, 0, 55, 0, 16, 0, 8, 0, 55, 0, 47, 0, 16, 0, 26, 0, 32, 0, 54, 0, 29, 0, 52, 0, 32, 0, 74, 0, 40, 0, 43, 0, 74, 0, 44, 0, 40, 0, 41, 0, 49, 0, 58, 0, 41, 0, 54, 0, 49, 0, 65, 0, 18, 0, 17, 0, 65, 0, 71, 0, 18, 0, 74, 0, 72, 0, 31, 0, 74, 0, 69, 0, 72, 0, 19, 0, 58, 0, 73, 0, 38, 0, 23, 0, 43, 0, 38, 0, 70, 0, 23, 0, 36, 0, 12, 0, 53, 0, 36, 0, 52, 0, 12, 0, 48, 0, 10, 0, 57, 0, 48, 0, 9, 0, 10, 0, 39, 0, 41, 0, 58, 0, 45, 0, 19, 0, 58, 0, 45, 0, 61, 0, 19, 0, 24, 0, 54, 0, 41, 0, 56, 0, 8, 0, 16, 0, 56, 0, 50, 0, 8, 0, 56, 0, 73, 0, 50, 0, 39, 0, 45, 0, 58, 0, 39, 0, 46, 0, 45, 0, 18, 0, 58, 0, 19, 0, 18, 0, 38, 0, 58, 0, 43, 0, 46, 0, 40, 0, 43, 0, 39, 0, 46, 0, 14, 0, 67, 0, 10, 0, 14, 0, 15, 0, 67, 0, 21, 0, 73, 0, 22, 0, 21, 0, 17, 0, 73, 0, 32, 0, 35, 0, 68, 0, 32, 0, 33, 0, 35, 0, 53, 0, 11, 0, 12, 0, 53, 0, 13, 0, 11, 0, 68, 0, 30, 0, 34, 0, 68, 0, 35, 0, 30, 0, 13, 0, 10, 0, 11, 0, 13, 0, 14, 0, 10, 0, 41, 0, 44, 0, 42, 0, 41, 0, 74, 0, 44, 0, 34, 0, 37, 0, 29, 0, 34, 0, 30, 0, 37, 0, 20, 0, 17, 0, 21, 0, 20, 0, 18, 0, 17, 0, 61, 0, 18, 0, 20, 0, 61, 0, 19, 0, 18, 0, 29, 0, 36, 0, 52, 0, 29, 0, 37, 0, 36, 0, 74, 0, 40, 0, 44, 0, 74, 0, 43, 0, 40, 0, 36, 0, 12, 0, 52, 0, 36, 0, 53, 0, 12, 0, 45, 0, 19, 0, 61, 0, 45, 0, 58, 0, 19, 0, 39, 0, 45, 0, 46, 0, 39, 0, 58, 0, 45, 0), +"name": "car_blue", +"primitive": 3, +"vertex_count": 75, +"vertex_data": PackedByteArray(248, 223, 10, 190, 12, 64, 51, 190, 254, 127, 244, 63, 248, 223, 10, 190, 16, 32, 115, 62, 1, 192, 221, 63, 248, 223, 10, 190, 12, 64, 51, 190, 1, 192, 221, 63, 29, 0, 1, 62, 12, 64, 51, 190, 254, 127, 244, 63, 29, 0, 1, 62, 12, 64, 51, 190, 1, 192, 221, 63, 29, 0, 1, 62, 16, 32, 115, 62, 254, 127, 244, 63, 29, 0, 1, 62, 16, 32, 115, 62, 1, 192, 221, 63, 248, 223, 10, 190, 16, 32, 115, 62, 254, 127, 244, 63, 0, 0, 0, 0, 230, 31, 253, 189, 1, 224, 244, 191, 249, 159, 0, 63, 230, 31, 253, 189, 1, 224, 244, 191, 249, 159, 0, 63, 31, 160, 251, 189, 254, 127, 216, 191, 249, 159, 0, 63, 31, 160, 251, 189, 2, 128, 173, 191, 249, 159, 0, 63, 5, 224, 223, 190, 254, 95, 157, 191, 7, 96, 39, 63, 6, 160, 33, 190, 253, 159, 175, 191, 7, 96, 39, 63, 6, 160, 33, 190, 3, 96, 214, 191, 7, 96, 39, 63, 5, 224, 223, 190, 2, 160, 232, 191, 249, 159, 0, 191, 230, 31, 253, 189, 1, 224, 244, 191, 249, 159, 0, 191, 31, 160, 251, 189, 254, 127, 216, 191, 249, 159, 0, 191, 31, 160, 251, 189, 2, 128, 173, 191, 249, 159, 0, 191, 5, 224, 223, 190, 254, 95, 157, 191, 7, 96, 39, 191, 6, 160, 33, 190, 253, 159, 175, 191, 7, 96, 39, 191, 6, 160, 33, 190, 3, 96, 214, 191, 7, 96, 39, 191, 5, 224, 223, 190, 2, 160, 232, 191, 249, 159, 0, 191, 81, 160, 207, 60, 8, 32, 65, 191, 249, 159, 0, 191, 5, 224, 223, 190, 7, 96, 3, 190, 249, 159, 0, 63, 81, 160, 207, 60, 8, 32, 65, 191, 249, 159, 0, 63, 5, 224, 223, 190, 7, 96, 3, 190, 249, 159, 0, 63, 230, 31, 253, 189, 228, 159, 73, 190, 249, 159, 0, 63, 66, 64, 254, 189, 252, 255, 134, 191, 249, 159, 0, 63, 5, 224, 223, 190, 254, 95, 97, 191, 7, 96, 39, 63, 6, 160, 33, 190, 5, 192, 60, 191, 249, 159, 0, 191, 230, 31, 253, 189, 228, 159, 73, 190, 249, 159, 0, 63, 5, 224, 223, 190, 13, 224, 149, 190, 7, 96, 39, 63, 5, 224, 223, 190, 13, 224, 149, 190, 249, 159, 0, 63, 31, 160, 251, 189, 8, 32, 65, 191, 7, 96, 39, 63, 6, 160, 33, 190, 4, 0, 223, 190, 7, 96, 39, 63, 5, 224, 223, 190, 252, 255, 134, 191, 7, 96, 39, 63, 5, 224, 223, 190, 254, 95, 97, 191, 249, 159, 0, 191, 66, 64, 254, 189, 252, 255, 134, 191, 249, 159, 0, 191, 5, 224, 223, 190, 254, 95, 97, 191, 7, 96, 39, 191, 6, 160, 33, 190, 5, 192, 60, 191, 249, 159, 0, 191, 5, 224, 223, 190, 13, 224, 149, 190, 7, 96, 39, 191, 5, 224, 223, 190, 13, 224, 149, 190, 249, 159, 0, 191, 31, 160, 251, 189, 8, 32, 65, 191, 7, 96, 39, 191, 6, 160, 33, 190, 4, 0, 223, 190, 7, 96, 39, 191, 5, 224, 223, 190, 252, 255, 134, 191, 7, 96, 39, 191, 5, 224, 223, 190, 254, 95, 97, 191, 249, 159, 0, 191, 169, 192, 201, 60, 1, 224, 244, 191, 249, 159, 0, 63, 169, 192, 201, 60, 1, 224, 244, 191, 0, 0, 0, 0, 5, 224, 223, 190, 252, 255, 134, 191, 0, 0, 0, 0, 5, 224, 223, 190, 253, 159, 253, 191, 249, 159, 0, 63, 5, 224, 223, 190, 253, 159, 253, 191, 249, 159, 0, 63, 5, 224, 223, 190, 252, 255, 134, 191, 7, 96, 39, 63, 5, 224, 223, 190, 254, 95, 157, 191, 0, 0, 0, 0, 5, 224, 223, 190, 7, 96, 3, 190, 0, 0, 0, 0, 169, 192, 201, 60, 1, 224, 244, 191, 249, 159, 0, 191, 5, 224, 223, 190, 253, 159, 253, 191, 249, 159, 0, 63, 81, 160, 207, 60, 254, 127, 216, 191, 249, 159, 0, 191, 5, 224, 223, 190, 252, 255, 134, 191, 249, 159, 0, 63, 81, 160, 207, 60, 250, 95, 214, 190, 249, 159, 0, 63, 197, 31, 197, 60, 252, 255, 134, 191, 7, 96, 39, 191, 5, 224, 223, 190, 254, 95, 157, 191, 249, 159, 0, 63, 81, 160, 207, 60, 2, 128, 173, 191, 0, 0, 0, 0, 230, 31, 253, 189, 228, 159, 73, 190, 0, 0, 0, 0, 169, 192, 201, 60, 228, 159, 73, 190, 249, 159, 0, 191, 81, 160, 207, 60, 254, 127, 216, 191, 249, 159, 0, 63, 169, 192, 201, 60, 228, 159, 73, 190, 249, 159, 0, 63, 5, 224, 223, 190, 2, 160, 232, 191, 249, 159, 0, 63, 31, 160, 251, 189, 250, 95, 214, 190, 249, 159, 0, 191, 81, 160, 207, 60, 250, 95, 214, 190, 249, 159, 0, 191, 197, 31, 197, 60, 252, 255, 134, 191, 249, 159, 0, 191, 81, 160, 207, 60, 2, 128, 173, 191, 249, 159, 0, 191, 169, 192, 201, 60, 228, 159, 73, 190, 249, 159, 0, 191, 5, 224, 223, 190, 2, 160, 232, 191, 249, 159, 0, 191, 31, 160, 251, 189, 250, 95, 214, 190) +}, { +"aabb": AABB(-0.502441, -0.437256, -1.81738, 1.00489, 0.314402, 1.52466), +"format": 4097, +"index_count": 24, +"index_data": PackedByteArray(7, 0, 8, 0, 6, 0, 7, 0, 13, 0, 8, 0, 10, 0, 11, 0, 15, 0, 10, 0, 9, 0, 11, 0, 4, 0, 14, 0, 3, 0, 4, 0, 5, 0, 14, 0, 1, 0, 12, 0, 2, 0, 1, 0, 0, 0, 12, 0), +"name": "chrome", +"primitive": 3, +"vertex_count": 16, +"vertex_data": PackedByteArray(249, 159, 0, 63, 31, 160, 251, 189, 254, 127, 216, 191, 249, 159, 0, 63, 31, 160, 251, 189, 2, 128, 173, 191, 249, 159, 0, 63, 5, 224, 223, 190, 254, 95, 157, 191, 249, 159, 0, 191, 31, 160, 251, 189, 254, 127, 216, 191, 249, 159, 0, 191, 31, 160, 251, 189, 2, 128, 173, 191, 249, 159, 0, 191, 5, 224, 223, 190, 254, 95, 157, 191, 249, 159, 0, 63, 5, 224, 223, 190, 254, 95, 97, 191, 249, 159, 0, 63, 5, 224, 223, 190, 13, 224, 149, 190, 249, 159, 0, 63, 31, 160, 251, 189, 8, 32, 65, 191, 249, 159, 0, 191, 5, 224, 223, 190, 254, 95, 97, 191, 249, 159, 0, 191, 5, 224, 223, 190, 13, 224, 149, 190, 249, 159, 0, 191, 31, 160, 251, 189, 8, 32, 65, 191, 249, 159, 0, 63, 5, 224, 223, 190, 2, 160, 232, 191, 249, 159, 0, 63, 31, 160, 251, 189, 250, 95, 214, 190, 249, 159, 0, 191, 5, 224, 223, 190, 2, 160, 232, 191, 249, 159, 0, 191, 31, 160, 251, 189, 250, 95, 214, 190) +}, { +"aabb": AABB(-0.625, -0.00771, -2.00586, 1.24024, 1.12197, 4.19922), +"format": 4097, +"index_count": 36, +"index_data": PackedByteArray(1, 0, 7, 0, 4, 0, 1, 0, 6, 0, 7, 0, 0, 0, 6, 0, 1, 0, 0, 0, 5, 0, 6, 0, 3, 0, 5, 0, 0, 0, 3, 0, 2, 0, 5, 0, 4, 0, 2, 0, 3, 0, 4, 0, 7, 0, 2, 0, 0, 0, 4, 0, 3, 0, 0, 0, 1, 0, 4, 0, 6, 0, 2, 0, 7, 0, 6, 0, 5, 0, 2, 0), +"name": "truck_trailer", +"primitive": 3, +"vertex_count": 8, +"vertex_data": PackedByteArray(250, 127, 29, 63, 43, 164, 252, 187, 254, 95, 0, 192, 0, 0, 32, 191, 43, 164, 252, 187, 254, 95, 0, 192, 250, 127, 29, 63, 2, 160, 142, 63, 254, 95, 12, 64, 250, 127, 29, 63, 43, 164, 252, 187, 254, 95, 12, 64, 0, 0, 32, 191, 43, 164, 252, 187, 254, 95, 12, 64, 250, 127, 29, 63, 2, 160, 142, 63, 254, 95, 0, 192, 0, 0, 32, 191, 2, 160, 142, 63, 254, 95, 0, 192, 0, 0, 32, 191, 2, 160, 142, 63, 254, 95, 12, 64) +}] +blend_shape_mode = 0 + +[sub_resource type="ArrayMesh" id="ArrayMesh_e2bcg"] +resource_name = "meshes_truck_trailer" +_surfaces = [{ +"aabb": AABB(-0.653809, -0.437256, -1.98144, 1.30762, 0.674683, 3.89161), +"attribute_data": PackedByteArray(0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 128, 63), +"format": 4119, +"index_count": 444, +"index_data": PackedByteArray(13, 0, 4, 0, 8, 0, 13, 0, 18, 0, 4, 0, 11, 0, 20, 0, 14, 0, 11, 0, 17, 0, 20, 0, 15, 0, 2, 0, 22, 0, 15, 0, 10, 0, 2, 0, 12, 0, 1, 0, 9, 0, 12, 0, 7, 0, 1, 0, 5, 0, 16, 0, 23, 0, 5, 0, 19, 0, 16, 0, 117, 0, 24, 0, 115, 0, 117, 0, 25, 0, 24, 0, 126, 0, 25, 0, 111, 0, 126, 0, 24, 0, 25, 0, 103, 0, 107, 0, 92, 0, 103, 0, 95, 0, 107, 0, 138, 0, 69, 0, 135, 0, 138, 0, 32, 0, 69, 0, 39, 0, 146, 0, 41, 0, 39, 0, 27, 0, 146, 0, 44, 0, 127, 0, 42, 0, 44, 0, 156, 0, 127, 0, 153, 0, 90, 0, 47, 0, 153, 0, 152, 0, 90, 0, 57, 0, 157, 0, 46, 0, 57, 0, 58, 0, 157, 0, 67, 0, 140, 0, 142, 0, 67, 0, 139, 0, 140, 0, 66, 0, 150, 0, 80, 0, 66, 0, 68, 0, 150, 0, 79, 0, 85, 0, 81, 0, 79, 0, 148, 0, 85, 0, 123, 0, 30, 0, 37, 0, 123, 0, 35, 0, 30, 0, 149, 0, 74, 0, 86, 0, 149, 0, 83, 0, 74, 0, 101, 0, 151, 0, 160, 0, 101, 0, 59, 0, 151, 0, 139, 0, 65, 0, 125, 0, 139, 0, 67, 0, 65, 0, 109, 0, 44, 0, 42, 0, 109, 0, 141, 0, 44, 0, 38, 0, 28, 0, 40, 0, 38, 0, 31, 0, 28, 0, 60, 0, 160, 0, 75, 0, 60, 0, 96, 0, 160, 0, 69, 0, 63, 0, 135, 0, 69, 0, 84, 0, 63, 0, 97, 0, 105, 0, 162, 0, 97, 0, 100, 0, 105, 0, 130, 0, 32, 0, 138, 0, 130, 0, 29, 0, 32, 0, 158, 0, 113, 0, 114, 0, 158, 0, 133, 0, 113, 0, 121, 0, 84, 0, 69, 0, 121, 0, 72, 0, 84, 0, 82, 0, 89, 0, 73, 0, 82, 0, 71, 0, 89, 0, 29, 0, 118, 0, 147, 0, 29, 0, 26, 0, 118, 0, 139, 0, 62, 0, 76, 0, 139, 0, 125, 0, 62, 0, 144, 0, 113, 0, 119, 0, 144, 0, 114, 0, 113, 0, 21, 0, 6, 0, 3, 0, 21, 0, 0, 0, 6, 0, 84, 0, 134, 0, 63, 0, 84, 0, 150, 0, 134, 0, 76, 0, 140, 0, 139, 0, 76, 0, 155, 0, 140, 0, 77, 0, 113, 0, 124, 0, 77, 0, 119, 0, 113, 0, 116, 0, 114, 0, 144, 0, 34, 0, 145, 0, 120, 0, 150, 0, 143, 0, 134, 0, 150, 0, 68, 0, 143, 0, 54, 0, 45, 0, 48, 0, 54, 0, 56, 0, 45, 0, 131, 0, 101, 0, 91, 0, 131, 0, 90, 0, 101, 0, 32, 0, 121, 0, 69, 0, 32, 0, 36, 0, 121, 0, 136, 0, 49, 0, 51, 0, 136, 0, 55, 0, 49, 0, 70, 0, 87, 0, 88, 0, 70, 0, 120, 0, 87, 0, 126, 0, 43, 0, 24, 0, 126, 0, 110, 0, 43, 0, 64, 0, 77, 0, 124, 0, 70, 0, 120, 0, 78, 0, 161, 0, 94, 0, 102, 0, 161, 0, 104, 0, 94, 0, 99, 0, 113, 0, 133, 0, 99, 0, 124, 0, 113, 0, 141, 0, 47, 0, 44, 0, 141, 0, 153, 0, 47, 0, 160, 0, 154, 0, 75, 0, 160, 0, 151, 0, 154, 0, 53, 0, 132, 0, 159, 0, 90, 0, 59, 0, 101, 0, 90, 0, 152, 0, 59, 0, 87, 0, 33, 0, 122, 0, 87, 0, 120, 0, 33, 0, 112, 0, 29, 0, 130, 0, 112, 0, 26, 0, 29, 0, 93, 0, 98, 0, 132, 0, 106, 0, 52, 0, 132, 0, 106, 0, 137, 0, 52, 0, 61, 0, 124, 0, 99, 0, 129, 0, 24, 0, 43, 0, 129, 0, 115, 0, 24, 0, 128, 0, 158, 0, 114, 0, 93, 0, 106, 0, 132, 0, 93, 0, 108, 0, 106, 0, 47, 0, 131, 0, 50, 0, 47, 0, 90, 0, 131, 0, 204, 0, 210, 0, 200, 0, 204, 0, 199, 0, 210, 0, 172, 0, 217, 0, 164, 0, 172, 0, 173, 0, 217, 0, 182, 0, 220, 0, 184, 0, 182, 0, 174, 0, 220, 0, 189, 0, 194, 0, 219, 0, 189, 0, 190, 0, 194, 0, 212, 0, 166, 0, 167, 0, 212, 0, 170, 0, 166, 0, 218, 0, 187, 0, 191, 0, 218, 0, 193, 0, 187, 0, 169, 0, 163, 0, 165, 0, 169, 0, 171, 0, 163, 0, 202, 0, 206, 0, 203, 0, 202, 0, 221, 0, 206, 0, 192, 0, 196, 0, 185, 0, 192, 0, 188, 0, 196, 0, 181, 0, 175, 0, 183, 0, 181, 0, 177, 0, 175, 0, 216, 0, 176, 0, 180, 0, 216, 0, 179, 0, 176, 0, 186, 0, 195, 0, 211, 0, 186, 0, 197, 0, 195, 0, 222, 0, 201, 0, 207, 0, 222, 0, 205, 0, 201, 0, 195, 0, 168, 0, 211, 0, 195, 0, 213, 0, 168, 0, 208, 0, 178, 0, 215, 0, 208, 0, 214, 0, 178, 0, 198, 0, 208, 0, 209, 0, 198, 0, 214, 0, 208, 0), +"material": SubResource("StandardMaterial3D_70jti"), +"name": "car_blue", +"primitive": 3, +"vertex_count": 223, +"vertex_data": PackedByteArray(248, 223, 10, 190, 12, 64, 51, 190, 254, 127, 244, 63, 0, 0, 255, 127, 255, 255, 255, 191, 248, 223, 10, 190, 12, 64, 51, 190, 254, 127, 244, 63, 255, 127, 0, 0, 255, 255, 255, 191, 248, 223, 10, 190, 12, 64, 51, 190, 254, 127, 244, 63, 255, 127, 255, 127, 255, 255, 255, 63, 248, 223, 10, 190, 16, 32, 115, 62, 1, 192, 221, 63, 0, 0, 255, 127, 255, 255, 255, 191, 248, 223, 10, 190, 16, 32, 115, 62, 1, 192, 221, 63, 255, 255, 255, 255, 255, 255, 255, 191, 248, 223, 10, 190, 16, 32, 115, 62, 1, 192, 221, 63, 255, 127, 255, 255, 255, 255, 255, 191, 248, 223, 10, 190, 12, 64, 51, 190, 1, 192, 221, 63, 0, 0, 255, 127, 255, 255, 255, 191, 248, 223, 10, 190, 12, 64, 51, 190, 1, 192, 221, 63, 255, 127, 0, 0, 255, 255, 255, 191, 248, 223, 10, 190, 12, 64, 51, 190, 1, 192, 221, 63, 255, 255, 255, 255, 255, 255, 255, 191, 29, 0, 1, 62, 12, 64, 51, 190, 254, 127, 244, 63, 255, 127, 0, 0, 255, 255, 255, 191, 29, 0, 1, 62, 12, 64, 51, 190, 254, 127, 244, 63, 255, 127, 255, 127, 255, 255, 255, 63, 29, 0, 1, 62, 12, 64, 51, 190, 254, 127, 244, 63, 255, 255, 255, 127, 255, 255, 255, 191, 29, 0, 1, 62, 12, 64, 51, 190, 1, 192, 221, 63, 255, 127, 0, 0, 255, 255, 255, 191, 29, 0, 1, 62, 12, 64, 51, 190, 1, 192, 221, 63, 255, 255, 255, 255, 255, 255, 255, 191, 29, 0, 1, 62, 12, 64, 51, 190, 1, 192, 221, 63, 255, 255, 255, 127, 255, 255, 255, 191, 29, 0, 1, 62, 16, 32, 115, 62, 254, 127, 244, 63, 255, 127, 255, 127, 255, 255, 255, 63, 29, 0, 1, 62, 16, 32, 115, 62, 254, 127, 244, 63, 255, 127, 255, 255, 255, 255, 255, 191, 29, 0, 1, 62, 16, 32, 115, 62, 254, 127, 244, 63, 255, 255, 255, 127, 255, 255, 255, 191, 29, 0, 1, 62, 16, 32, 115, 62, 1, 192, 221, 63, 255, 255, 255, 255, 255, 255, 255, 191, 29, 0, 1, 62, 16, 32, 115, 62, 1, 192, 221, 63, 255, 127, 255, 255, 255, 255, 255, 191, 29, 0, 1, 62, 16, 32, 115, 62, 1, 192, 221, 63, 255, 255, 255, 127, 255, 255, 255, 191, 248, 223, 10, 190, 16, 32, 115, 62, 254, 127, 244, 63, 0, 0, 255, 127, 255, 255, 255, 191, 248, 223, 10, 190, 16, 32, 115, 62, 254, 127, 244, 63, 255, 127, 255, 127, 255, 255, 255, 63, 248, 223, 10, 190, 16, 32, 115, 62, 254, 127, 244, 63, 255, 127, 255, 255, 255, 255, 255, 191, 0, 0, 0, 0, 230, 31, 253, 189, 1, 224, 244, 191, 140, 243, 255, 255, 255, 255, 255, 191, 249, 159, 0, 63, 230, 31, 253, 189, 1, 224, 244, 191, 140, 243, 255, 255, 255, 255, 255, 191, 249, 159, 0, 63, 230, 31, 253, 189, 1, 224, 244, 191, 254, 255, 255, 127, 255, 255, 255, 63, 249, 159, 0, 63, 31, 160, 251, 189, 254, 127, 216, 191, 223, 218, 52, 247, 255, 255, 255, 191, 249, 159, 0, 63, 31, 160, 251, 189, 254, 127, 216, 191, 5, 152, 249, 231, 255, 255, 255, 191, 249, 159, 0, 63, 31, 160, 251, 189, 254, 127, 216, 191, 255, 255, 255, 127, 255, 255, 255, 63, 249, 159, 0, 63, 31, 160, 251, 189, 2, 128, 173, 191, 201, 136, 31, 165, 255, 255, 255, 63, 249, 159, 0, 63, 31, 160, 251, 189, 2, 128, 173, 191, 5, 152, 249, 231, 255, 255, 255, 191, 249, 159, 0, 63, 31, 160, 251, 189, 2, 128, 173, 191, 255, 255, 255, 127, 255, 255, 255, 191, 249, 159, 0, 63, 5, 224, 223, 190, 254, 95, 157, 191, 255, 127, 255, 255, 255, 255, 255, 191, 249, 159, 0, 63, 5, 224, 223, 190, 254, 95, 157, 191, 255, 127, 255, 255, 255, 255, 255, 191, 249, 159, 0, 63, 5, 224, 223, 190, 254, 95, 157, 191, 201, 136, 31, 165, 255, 255, 255, 63, 249, 159, 0, 63, 5, 224, 223, 190, 254, 95, 157, 191, 255, 255, 255, 127, 255, 255, 255, 191, 7, 96, 39, 63, 6, 160, 33, 190, 253, 159, 175, 191, 201, 136, 31, 165, 255, 255, 255, 63, 7, 96, 39, 63, 6, 160, 33, 190, 253, 159, 175, 191, 5, 152, 249, 231, 255, 255, 255, 191, 7, 96, 39, 63, 6, 160, 33, 190, 3, 96, 214, 191, 223, 218, 52, 247, 255, 255, 255, 191, 7, 96, 39, 63, 6, 160, 33, 190, 3, 96, 214, 191, 5, 152, 249, 231, 255, 255, 255, 191, 7, 96, 39, 63, 5, 224, 223, 190, 2, 160, 232, 191, 223, 218, 52, 247, 255, 255, 255, 191, 249, 159, 0, 191, 230, 31, 253, 189, 1, 224, 244, 191, 0, 0, 255, 127, 255, 255, 255, 63, 249, 159, 0, 191, 230, 31, 253, 189, 1, 224, 244, 191, 140, 243, 255, 255, 255, 255, 255, 191, 249, 159, 0, 191, 31, 160, 251, 189, 254, 127, 216, 191, 0, 0, 255, 127, 255, 255, 255, 63, 249, 159, 0, 191, 31, 160, 251, 189, 254, 127, 216, 191, 249, 103, 249, 231, 255, 255, 255, 191, 249, 159, 0, 191, 31, 160, 251, 189, 254, 127, 216, 191, 31, 37, 52, 247, 255, 255, 255, 191, 249, 159, 0, 191, 31, 160, 251, 189, 2, 128, 173, 191, 0, 0, 255, 127, 255, 255, 255, 191, 249, 159, 0, 191, 31, 160, 251, 189, 2, 128, 173, 191, 249, 103, 249, 231, 255, 255, 255, 191, 249, 159, 0, 191, 31, 160, 251, 189, 2, 128, 173, 191, 53, 119, 31, 165, 255, 255, 255, 63, 249, 159, 0, 191, 5, 224, 223, 190, 254, 95, 157, 191, 0, 0, 255, 127, 255, 255, 255, 191, 249, 159, 0, 191, 5, 224, 223, 190, 254, 95, 157, 191, 53, 119, 31, 165, 255, 255, 255, 63, 249, 159, 0, 191, 5, 224, 223, 190, 254, 95, 157, 191, 255, 127, 255, 255, 255, 255, 255, 191, 249, 159, 0, 191, 5, 224, 223, 190, 254, 95, 157, 191, 255, 127, 255, 255, 255, 255, 255, 191, 7, 96, 39, 191, 6, 160, 33, 190, 253, 159, 175, 191, 249, 103, 249, 231, 255, 255, 255, 191, 7, 96, 39, 191, 6, 160, 33, 190, 253, 159, 175, 191, 53, 119, 31, 165, 255, 255, 255, 63, 7, 96, 39, 191, 6, 160, 33, 190, 3, 96, 214, 191, 249, 103, 249, 231, 255, 255, 255, 191, 7, 96, 39, 191, 6, 160, 33, 190, 3, 96, 214, 191, 31, 37, 52, 247, 255, 255, 255, 191, 7, 96, 39, 191, 5, 224, 223, 190, 2, 160, 232, 191, 31, 37, 52, 247, 255, 255, 255, 191, 249, 159, 0, 191, 81, 160, 207, 60, 8, 32, 65, 191, 0, 0, 255, 127, 255, 255, 255, 191, 249, 159, 0, 191, 5, 224, 223, 190, 7, 96, 3, 190, 0, 0, 255, 127, 255, 255, 255, 191, 249, 159, 0, 191, 5, 224, 223, 190, 7, 96, 3, 190, 255, 127, 0, 0, 255, 255, 255, 191, 249, 159, 0, 191, 5, 224, 223, 190, 7, 96, 3, 190, 255, 127, 248, 150, 255, 255, 255, 63, 249, 159, 0, 63, 81, 160, 207, 60, 8, 32, 65, 191, 255, 255, 255, 127, 255, 255, 255, 191, 249, 159, 0, 63, 5, 224, 223, 190, 7, 96, 3, 190, 255, 127, 0, 0, 255, 255, 255, 191, 249, 159, 0, 63, 5, 224, 223, 190, 7, 96, 3, 190, 255, 127, 248, 150, 255, 255, 255, 63, 249, 159, 0, 63, 5, 224, 223, 190, 7, 96, 3, 190, 255, 255, 255, 127, 255, 255, 255, 191, 249, 159, 0, 63, 230, 31, 253, 189, 228, 159, 73, 190, 255, 127, 123, 140, 255, 255, 255, 63, 249, 159, 0, 63, 230, 31, 253, 189, 228, 159, 73, 190, 255, 255, 255, 127, 255, 255, 255, 191, 249, 159, 0, 63, 66, 64, 254, 189, 252, 255, 134, 191, 255, 255, 255, 127, 255, 255, 255, 191, 249, 159, 0, 63, 5, 224, 223, 190, 254, 95, 97, 191, 255, 127, 255, 255, 255, 255, 255, 191, 249, 159, 0, 63, 5, 224, 223, 190, 254, 95, 97, 191, 221, 218, 20, 247, 255, 255, 255, 191, 249, 159, 0, 63, 5, 224, 223, 190, 254, 95, 97, 191, 255, 255, 255, 127, 255, 255, 255, 191, 7, 96, 39, 63, 6, 160, 33, 190, 5, 192, 60, 191, 221, 218, 20, 247, 255, 255, 255, 191, 7, 96, 39, 63, 6, 160, 33, 190, 5, 192, 60, 191, 5, 152, 249, 231, 255, 255, 255, 191, 249, 159, 0, 191, 230, 31, 253, 189, 228, 159, 73, 190, 0, 0, 255, 127, 255, 255, 255, 191, 249, 159, 0, 191, 230, 31, 253, 189, 228, 159, 73, 190, 255, 127, 123, 140, 255, 255, 255, 63, 249, 159, 0, 63, 5, 224, 223, 190, 13, 224, 149, 190, 255, 127, 0, 0, 255, 255, 255, 191, 249, 159, 0, 63, 5, 224, 223, 190, 13, 224, 149, 190, 255, 127, 255, 255, 255, 255, 255, 191, 249, 159, 0, 63, 5, 224, 223, 190, 13, 224, 149, 190, 217, 136, 31, 165, 255, 255, 255, 63, 249, 159, 0, 63, 5, 224, 223, 190, 13, 224, 149, 190, 255, 255, 255, 127, 255, 255, 255, 191, 7, 96, 39, 63, 5, 224, 223, 190, 13, 224, 149, 190, 217, 136, 31, 165, 255, 255, 255, 63, 249, 159, 0, 63, 31, 160, 251, 189, 8, 32, 65, 191, 221, 218, 20, 247, 255, 255, 255, 191, 249, 159, 0, 63, 31, 160, 251, 189, 8, 32, 65, 191, 5, 152, 249, 231, 255, 255, 255, 191, 249, 159, 0, 63, 31, 160, 251, 189, 8, 32, 65, 191, 255, 255, 255, 127, 255, 255, 255, 191, 7, 96, 39, 63, 6, 160, 33, 190, 4, 0, 223, 190, 217, 136, 31, 165, 255, 255, 255, 63, 7, 96, 39, 63, 6, 160, 33, 190, 4, 0, 223, 190, 5, 152, 249, 231, 255, 255, 255, 191, 7, 96, 39, 63, 5, 224, 223, 190, 252, 255, 134, 191, 255, 127, 255, 255, 255, 255, 255, 191, 7, 96, 39, 63, 5, 224, 223, 190, 254, 95, 97, 191, 255, 127, 255, 255, 255, 255, 255, 191, 7, 96, 39, 63, 5, 224, 223, 190, 254, 95, 97, 191, 221, 218, 20, 247, 255, 255, 255, 191, 249, 159, 0, 191, 66, 64, 254, 189, 252, 255, 134, 191, 0, 0, 255, 127, 255, 255, 255, 191, 249, 159, 0, 191, 5, 224, 223, 190, 254, 95, 97, 191, 0, 0, 255, 127, 255, 255, 255, 191, 249, 159, 0, 191, 5, 224, 223, 190, 254, 95, 97, 191, 33, 37, 20, 247, 255, 255, 255, 191, 249, 159, 0, 191, 5, 224, 223, 190, 254, 95, 97, 191, 255, 127, 255, 255, 255, 255, 255, 191, 7, 96, 39, 191, 6, 160, 33, 190, 5, 192, 60, 191, 249, 103, 249, 231, 255, 255, 255, 191, 7, 96, 39, 191, 6, 160, 33, 190, 5, 192, 60, 191, 33, 37, 20, 247, 255, 255, 255, 191, 249, 159, 0, 191, 5, 224, 223, 190, 13, 224, 149, 190, 0, 0, 255, 127, 255, 255, 255, 191, 249, 159, 0, 191, 5, 224, 223, 190, 13, 224, 149, 190, 37, 119, 31, 165, 255, 255, 255, 63, 249, 159, 0, 191, 5, 224, 223, 190, 13, 224, 149, 190, 255, 127, 255, 255, 255, 255, 255, 191, 249, 159, 0, 191, 5, 224, 223, 190, 13, 224, 149, 190, 255, 127, 0, 0, 255, 255, 255, 191, 7, 96, 39, 191, 5, 224, 223, 190, 13, 224, 149, 190, 37, 119, 31, 165, 255, 255, 255, 63, 249, 159, 0, 191, 31, 160, 251, 189, 8, 32, 65, 191, 0, 0, 255, 127, 255, 255, 255, 191, 249, 159, 0, 191, 31, 160, 251, 189, 8, 32, 65, 191, 249, 103, 249, 231, 255, 255, 255, 191, 249, 159, 0, 191, 31, 160, 251, 189, 8, 32, 65, 191, 33, 37, 20, 247, 255, 255, 255, 191, 7, 96, 39, 191, 6, 160, 33, 190, 4, 0, 223, 190, 249, 103, 249, 231, 255, 255, 255, 191, 7, 96, 39, 191, 6, 160, 33, 190, 4, 0, 223, 190, 37, 119, 31, 165, 255, 255, 255, 63, 7, 96, 39, 191, 5, 224, 223, 190, 252, 255, 134, 191, 255, 127, 255, 255, 255, 255, 255, 191, 7, 96, 39, 191, 5, 224, 223, 190, 254, 95, 97, 191, 33, 37, 20, 247, 255, 255, 255, 191, 7, 96, 39, 191, 5, 224, 223, 190, 254, 95, 97, 191, 255, 127, 255, 255, 255, 255, 255, 191, 249, 159, 0, 191, 169, 192, 201, 60, 1, 224, 244, 191, 0, 0, 255, 127, 255, 255, 255, 191, 249, 159, 0, 191, 169, 192, 201, 60, 1, 224, 244, 191, 255, 255, 255, 255, 255, 255, 255, 191, 249, 159, 0, 63, 169, 192, 201, 60, 1, 224, 244, 191, 255, 255, 255, 255, 255, 255, 255, 191, 249, 159, 0, 63, 169, 192, 201, 60, 1, 224, 244, 191, 255, 255, 255, 127, 255, 255, 255, 191, 0, 0, 0, 0, 5, 224, 223, 190, 252, 255, 134, 191, 255, 127, 0, 0, 255, 255, 255, 191, 0, 0, 0, 0, 5, 224, 223, 190, 253, 159, 253, 191, 255, 127, 0, 0, 255, 255, 255, 191, 0, 0, 0, 0, 5, 224, 223, 190, 253, 159, 253, 191, 23, 233, 255, 255, 255, 255, 255, 191, 249, 159, 0, 63, 5, 224, 223, 190, 253, 159, 253, 191, 255, 127, 0, 0, 255, 255, 255, 191, 249, 159, 0, 63, 5, 224, 223, 190, 253, 159, 253, 191, 23, 233, 255, 255, 255, 255, 255, 191, 249, 159, 0, 63, 5, 224, 223, 190, 253, 159, 253, 191, 254, 255, 255, 127, 255, 255, 255, 63, 249, 159, 0, 63, 5, 224, 223, 190, 252, 255, 134, 191, 255, 127, 0, 0, 255, 255, 255, 191, 249, 159, 0, 63, 5, 224, 223, 190, 252, 255, 134, 191, 255, 127, 255, 255, 255, 255, 255, 191, 249, 159, 0, 63, 5, 224, 223, 190, 252, 255, 134, 191, 255, 255, 255, 127, 255, 255, 255, 191, 7, 96, 39, 63, 5, 224, 223, 190, 254, 95, 157, 191, 255, 127, 255, 255, 255, 255, 255, 191, 7, 96, 39, 63, 5, 224, 223, 190, 254, 95, 157, 191, 201, 136, 31, 165, 255, 255, 255, 63, 0, 0, 0, 0, 5, 224, 223, 190, 7, 96, 3, 190, 255, 127, 0, 0, 255, 255, 255, 191, 0, 0, 0, 0, 5, 224, 223, 190, 7, 96, 3, 190, 255, 127, 248, 150, 255, 255, 255, 63, 0, 0, 0, 0, 169, 192, 201, 60, 1, 224, 244, 191, 255, 255, 255, 255, 255, 255, 255, 191, 249, 159, 0, 191, 5, 224, 223, 190, 253, 159, 253, 191, 0, 0, 255, 127, 255, 255, 255, 63, 249, 159, 0, 191, 5, 224, 223, 190, 253, 159, 253, 191, 255, 127, 0, 0, 255, 255, 255, 191, 249, 159, 0, 191, 5, 224, 223, 190, 253, 159, 253, 191, 23, 233, 255, 255, 255, 255, 255, 191, 249, 159, 0, 63, 81, 160, 207, 60, 254, 127, 216, 191, 255, 255, 255, 127, 255, 255, 255, 191, 249, 159, 0, 191, 5, 224, 223, 190, 252, 255, 134, 191, 0, 0, 255, 127, 255, 255, 255, 191, 249, 159, 0, 191, 5, 224, 223, 190, 252, 255, 134, 191, 255, 127, 255, 255, 255, 255, 255, 191, 249, 159, 0, 191, 5, 224, 223, 190, 252, 255, 134, 191, 255, 127, 0, 0, 255, 255, 255, 191, 249, 159, 0, 63, 81, 160, 207, 60, 250, 95, 214, 190, 255, 255, 255, 127, 255, 255, 255, 191, 249, 159, 0, 63, 197, 31, 197, 60, 252, 255, 134, 191, 255, 255, 255, 127, 255, 255, 255, 191, 7, 96, 39, 191, 5, 224, 223, 190, 254, 95, 157, 191, 53, 119, 31, 165, 255, 255, 255, 63, 7, 96, 39, 191, 5, 224, 223, 190, 254, 95, 157, 191, 255, 127, 255, 255, 255, 255, 255, 191, 249, 159, 0, 63, 81, 160, 207, 60, 2, 128, 173, 191, 255, 255, 255, 127, 255, 255, 255, 191, 0, 0, 0, 0, 230, 31, 253, 189, 228, 159, 73, 190, 255, 127, 123, 140, 255, 255, 255, 63, 0, 0, 0, 0, 169, 192, 201, 60, 228, 159, 73, 190, 255, 127, 255, 127, 255, 255, 255, 63, 249, 159, 0, 191, 81, 160, 207, 60, 254, 127, 216, 191, 0, 0, 255, 127, 255, 255, 255, 191, 249, 159, 0, 63, 169, 192, 201, 60, 228, 159, 73, 190, 255, 127, 255, 127, 255, 255, 255, 63, 249, 159, 0, 63, 169, 192, 201, 60, 228, 159, 73, 190, 255, 255, 255, 127, 255, 255, 255, 191, 249, 159, 0, 63, 5, 224, 223, 190, 2, 160, 232, 191, 255, 127, 0, 0, 255, 255, 255, 191, 249, 159, 0, 63, 5, 224, 223, 190, 2, 160, 232, 191, 255, 127, 255, 255, 255, 255, 255, 191, 249, 159, 0, 63, 5, 224, 223, 190, 2, 160, 232, 191, 223, 218, 52, 247, 255, 255, 255, 191, 249, 159, 0, 63, 5, 224, 223, 190, 2, 160, 232, 191, 254, 255, 255, 127, 255, 255, 255, 63, 249, 159, 0, 63, 31, 160, 251, 189, 250, 95, 214, 190, 217, 136, 31, 165, 255, 255, 255, 63, 249, 159, 0, 63, 31, 160, 251, 189, 250, 95, 214, 190, 5, 152, 249, 231, 255, 255, 255, 191, 249, 159, 0, 63, 31, 160, 251, 189, 250, 95, 214, 190, 255, 255, 255, 127, 255, 255, 255, 191, 249, 159, 0, 191, 81, 160, 207, 60, 250, 95, 214, 190, 0, 0, 255, 127, 255, 255, 255, 63, 249, 159, 0, 191, 197, 31, 197, 60, 252, 255, 134, 191, 0, 0, 255, 127, 255, 255, 255, 191, 249, 159, 0, 191, 81, 160, 207, 60, 2, 128, 173, 191, 0, 0, 255, 127, 255, 255, 255, 191, 249, 159, 0, 191, 169, 192, 201, 60, 228, 159, 73, 190, 0, 0, 255, 127, 255, 255, 255, 63, 249, 159, 0, 191, 169, 192, 201, 60, 228, 159, 73, 190, 255, 127, 255, 127, 255, 255, 255, 63, 249, 159, 0, 191, 5, 224, 223, 190, 2, 160, 232, 191, 0, 0, 255, 127, 255, 255, 255, 63, 249, 159, 0, 191, 5, 224, 223, 190, 2, 160, 232, 191, 31, 37, 52, 247, 255, 255, 255, 191, 249, 159, 0, 191, 5, 224, 223, 190, 2, 160, 232, 191, 255, 127, 0, 0, 255, 255, 255, 191, 249, 159, 0, 191, 5, 224, 223, 190, 2, 160, 232, 191, 255, 127, 255, 255, 255, 255, 255, 191, 249, 159, 0, 191, 31, 160, 251, 189, 250, 95, 214, 190, 0, 0, 255, 127, 255, 255, 255, 191, 249, 159, 0, 191, 31, 160, 251, 189, 250, 95, 214, 190, 249, 103, 249, 231, 255, 255, 255, 191, 249, 159, 0, 191, 31, 160, 251, 189, 250, 95, 214, 190, 37, 119, 31, 165, 255, 255, 255, 63, 249, 159, 0, 63, 31, 160, 251, 189, 254, 127, 216, 191, 249, 103, 5, 24, 255, 255, 255, 191, 249, 159, 0, 63, 31, 160, 251, 189, 254, 127, 216, 191, 53, 119, 223, 90, 255, 255, 255, 63, 249, 159, 0, 63, 31, 160, 251, 189, 2, 128, 173, 191, 249, 103, 5, 24, 255, 255, 255, 191, 249, 159, 0, 63, 31, 160, 251, 189, 2, 128, 173, 191, 31, 37, 202, 8, 255, 255, 255, 191, 249, 159, 0, 63, 5, 224, 223, 190, 254, 95, 157, 191, 31, 37, 202, 8, 255, 255, 255, 191, 249, 159, 0, 63, 5, 224, 223, 190, 254, 95, 157, 191, 255, 127, 0, 0, 255, 255, 255, 191, 7, 96, 39, 63, 6, 160, 33, 190, 253, 159, 175, 191, 249, 103, 5, 24, 255, 255, 255, 191, 7, 96, 39, 63, 6, 160, 33, 190, 253, 159, 175, 191, 31, 37, 202, 8, 255, 255, 255, 191, 7, 96, 39, 63, 6, 160, 33, 190, 3, 96, 214, 191, 249, 103, 5, 24, 255, 255, 255, 191, 7, 96, 39, 63, 6, 160, 33, 190, 3, 96, 214, 191, 53, 119, 223, 90, 255, 255, 255, 63, 7, 96, 39, 63, 5, 224, 223, 190, 2, 160, 232, 191, 53, 119, 223, 90, 255, 255, 255, 63, 249, 159, 0, 191, 31, 160, 251, 189, 254, 127, 216, 191, 201, 136, 223, 90, 255, 255, 255, 63, 249, 159, 0, 191, 31, 160, 251, 189, 254, 127, 216, 191, 5, 152, 5, 24, 255, 255, 255, 191, 249, 159, 0, 191, 31, 160, 251, 189, 2, 128, 173, 191, 223, 218, 202, 8, 255, 255, 255, 191, 249, 159, 0, 191, 31, 160, 251, 189, 2, 128, 173, 191, 5, 152, 5, 24, 255, 255, 255, 191, 249, 159, 0, 191, 5, 224, 223, 190, 254, 95, 157, 191, 255, 127, 0, 0, 255, 255, 255, 191, 249, 159, 0, 191, 5, 224, 223, 190, 254, 95, 157, 191, 223, 218, 202, 8, 255, 255, 255, 191, 7, 96, 39, 191, 6, 160, 33, 190, 253, 159, 175, 191, 223, 218, 202, 8, 255, 255, 255, 191, 7, 96, 39, 191, 6, 160, 33, 190, 253, 159, 175, 191, 5, 152, 5, 24, 255, 255, 255, 191, 7, 96, 39, 191, 6, 160, 33, 190, 3, 96, 214, 191, 201, 136, 223, 90, 255, 255, 255, 63, 7, 96, 39, 191, 6, 160, 33, 190, 3, 96, 214, 191, 5, 152, 5, 24, 255, 255, 255, 191, 7, 96, 39, 191, 5, 224, 223, 190, 2, 160, 232, 191, 201, 136, 223, 90, 255, 255, 255, 63, 249, 159, 0, 63, 5, 224, 223, 190, 254, 95, 97, 191, 21, 119, 222, 90, 255, 255, 255, 63, 249, 159, 0, 63, 5, 224, 223, 190, 254, 95, 97, 191, 255, 127, 0, 0, 255, 255, 255, 191, 7, 96, 39, 63, 6, 160, 33, 190, 5, 192, 60, 191, 249, 103, 5, 24, 255, 255, 255, 191, 7, 96, 39, 63, 6, 160, 33, 190, 5, 192, 60, 191, 21, 119, 222, 90, 255, 255, 255, 63, 249, 159, 0, 63, 5, 224, 223, 190, 13, 224, 149, 190, 32, 37, 218, 8, 255, 255, 255, 191, 7, 96, 39, 63, 5, 224, 223, 190, 13, 224, 149, 190, 32, 37, 218, 8, 255, 255, 255, 191, 249, 159, 0, 63, 31, 160, 251, 189, 8, 32, 65, 191, 249, 103, 5, 24, 255, 255, 255, 191, 249, 159, 0, 63, 31, 160, 251, 189, 8, 32, 65, 191, 21, 119, 222, 90, 255, 255, 255, 63, 7, 96, 39, 63, 6, 160, 33, 190, 4, 0, 223, 190, 249, 103, 5, 24, 255, 255, 255, 191, 7, 96, 39, 63, 6, 160, 33, 190, 4, 0, 223, 190, 32, 37, 218, 8, 255, 255, 255, 191, 7, 96, 39, 63, 5, 224, 223, 190, 252, 255, 134, 191, 255, 127, 0, 0, 255, 255, 255, 191, 7, 96, 39, 63, 5, 224, 223, 190, 254, 95, 97, 191, 21, 119, 222, 90, 255, 255, 255, 63, 7, 96, 39, 63, 5, 224, 223, 190, 254, 95, 97, 191, 255, 127, 0, 0, 255, 255, 255, 191, 249, 159, 0, 191, 5, 224, 223, 190, 254, 95, 97, 191, 255, 127, 0, 0, 255, 255, 255, 191, 249, 159, 0, 191, 5, 224, 223, 190, 254, 95, 97, 191, 233, 136, 222, 90, 255, 255, 255, 63, 7, 96, 39, 191, 6, 160, 33, 190, 5, 192, 60, 191, 233, 136, 222, 90, 255, 255, 255, 63, 7, 96, 39, 191, 6, 160, 33, 190, 5, 192, 60, 191, 5, 152, 5, 24, 255, 255, 255, 191, 249, 159, 0, 191, 5, 224, 223, 190, 13, 224, 149, 190, 222, 218, 218, 8, 255, 255, 255, 191, 7, 96, 39, 191, 5, 224, 223, 190, 13, 224, 149, 190, 222, 218, 218, 8, 255, 255, 255, 191, 249, 159, 0, 191, 31, 160, 251, 189, 8, 32, 65, 191, 233, 136, 222, 90, 255, 255, 255, 63, 249, 159, 0, 191, 31, 160, 251, 189, 8, 32, 65, 191, 5, 152, 5, 24, 255, 255, 255, 191, 7, 96, 39, 191, 6, 160, 33, 190, 4, 0, 223, 190, 222, 218, 218, 8, 255, 255, 255, 191, 7, 96, 39, 191, 6, 160, 33, 190, 4, 0, 223, 190, 5, 152, 5, 24, 255, 255, 255, 191, 7, 96, 39, 191, 5, 224, 223, 190, 252, 255, 134, 191, 255, 127, 0, 0, 255, 255, 255, 191, 7, 96, 39, 191, 5, 224, 223, 190, 254, 95, 97, 191, 255, 127, 0, 0, 255, 255, 255, 191, 7, 96, 39, 191, 5, 224, 223, 190, 254, 95, 97, 191, 233, 136, 222, 90, 255, 255, 255, 63, 249, 159, 0, 63, 5, 224, 223, 190, 252, 255, 134, 191, 255, 127, 0, 0, 255, 255, 255, 191, 7, 96, 39, 63, 5, 224, 223, 190, 254, 95, 157, 191, 31, 37, 202, 8, 255, 255, 255, 191, 7, 96, 39, 63, 5, 224, 223, 190, 254, 95, 157, 191, 255, 127, 0, 0, 255, 255, 255, 191, 249, 159, 0, 191, 5, 224, 223, 190, 252, 255, 134, 191, 255, 127, 0, 0, 255, 255, 255, 191, 7, 96, 39, 191, 5, 224, 223, 190, 254, 95, 157, 191, 255, 127, 0, 0, 255, 255, 255, 191, 7, 96, 39, 191, 5, 224, 223, 190, 254, 95, 157, 191, 223, 218, 202, 8, 255, 255, 255, 191, 249, 159, 0, 63, 5, 224, 223, 190, 2, 160, 232, 191, 53, 119, 223, 90, 255, 255, 255, 63, 249, 159, 0, 63, 31, 160, 251, 189, 250, 95, 214, 190, 249, 103, 5, 24, 255, 255, 255, 191, 249, 159, 0, 63, 31, 160, 251, 189, 250, 95, 214, 190, 32, 37, 218, 8, 255, 255, 255, 191, 249, 159, 0, 191, 5, 224, 223, 190, 2, 160, 232, 191, 201, 136, 223, 90, 255, 255, 255, 63, 249, 159, 0, 191, 31, 160, 251, 189, 250, 95, 214, 190, 222, 218, 218, 8, 255, 255, 255, 191, 249, 159, 0, 191, 31, 160, 251, 189, 250, 95, 214, 190, 5, 152, 5, 24, 255, 255, 255, 191) +}, { +"aabb": AABB(-0.502441, -0.437256, -1.81738, 1.00489, 0.314402, 1.52466), +"attribute_data": PackedByteArray(0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 128, 63), +"format": 4119, +"index_count": 24, +"index_data": PackedByteArray(7, 0, 8, 0, 6, 0, 7, 0, 13, 0, 8, 0, 10, 0, 11, 0, 15, 0, 10, 0, 9, 0, 11, 0, 4, 0, 14, 0, 3, 0, 4, 0, 5, 0, 14, 0, 1, 0, 12, 0, 2, 0, 1, 0, 0, 0, 12, 0), +"material": SubResource("StandardMaterial3D_uj5nn"), +"name": "chrome", +"primitive": 3, +"vertex_count": 16, +"vertex_data": PackedByteArray(249, 159, 0, 63, 31, 160, 251, 189, 254, 127, 216, 191, 255, 255, 255, 127, 255, 255, 255, 191, 249, 159, 0, 63, 31, 160, 251, 189, 2, 128, 173, 191, 255, 255, 255, 127, 255, 255, 255, 191, 249, 159, 0, 63, 5, 224, 223, 190, 254, 95, 157, 191, 255, 255, 255, 127, 255, 255, 255, 191, 249, 159, 0, 191, 31, 160, 251, 189, 254, 127, 216, 191, 0, 0, 255, 127, 255, 255, 255, 191, 249, 159, 0, 191, 31, 160, 251, 189, 2, 128, 173, 191, 0, 0, 255, 127, 255, 255, 255, 191, 249, 159, 0, 191, 5, 224, 223, 190, 254, 95, 157, 191, 0, 0, 255, 127, 255, 255, 255, 191, 249, 159, 0, 63, 5, 224, 223, 190, 254, 95, 97, 191, 255, 255, 255, 127, 255, 255, 255, 191, 249, 159, 0, 63, 5, 224, 223, 190, 13, 224, 149, 190, 255, 255, 255, 127, 255, 255, 255, 191, 249, 159, 0, 63, 31, 160, 251, 189, 8, 32, 65, 191, 255, 255, 255, 127, 255, 255, 255, 191, 249, 159, 0, 191, 5, 224, 223, 190, 254, 95, 97, 191, 0, 0, 255, 127, 255, 255, 255, 191, 249, 159, 0, 191, 5, 224, 223, 190, 13, 224, 149, 190, 0, 0, 255, 127, 255, 255, 255, 191, 249, 159, 0, 191, 31, 160, 251, 189, 8, 32, 65, 191, 0, 0, 255, 127, 255, 255, 255, 191, 249, 159, 0, 63, 5, 224, 223, 190, 2, 160, 232, 191, 255, 255, 255, 127, 255, 255, 255, 191, 249, 159, 0, 63, 31, 160, 251, 189, 250, 95, 214, 190, 255, 255, 255, 127, 255, 255, 255, 191, 249, 159, 0, 191, 5, 224, 223, 190, 2, 160, 232, 191, 0, 0, 255, 127, 255, 255, 255, 191, 249, 159, 0, 191, 31, 160, 251, 189, 250, 95, 214, 190, 0, 0, 255, 127, 255, 255, 255, 191) +}, { +"aabb": AABB(-0.625, -0.00771, -2.00586, 1.24024, 1.12197, 4.19922), +"attribute_data": PackedByteArray(64, 193, 241, 62, 218, 161, 71, 63, 31, 250, 91, 63, 5, 121, 127, 63, 182, 186, 127, 63, 136, 28, 41, 63, 0, 79, 60, 59, 168, 28, 41, 63, 66, 193, 241, 62, 203, 255, 125, 63, 143, 251, 118, 63, 5, 121, 127, 63, 192, 218, 96, 60, 115, 56, 72, 63, 109, 151, 248, 62, 194, 197, 125, 63, 3, 118, 94, 59, 208, 175, 3, 62, 66, 182, 230, 61, 220, 161, 71, 63, 232, 183, 210, 61, 115, 56, 72, 63, 3, 118, 94, 59, 140, 28, 41, 63, 171, 17, 127, 63, 161, 28, 41, 63, 66, 182, 230, 61, 203, 255, 125, 63, 232, 183, 210, 61, 135, 175, 122, 63, 31, 250, 91, 63, 164, 156, 78, 63, 11, 233, 88, 63, 194, 197, 125, 63, 182, 186, 127, 63, 208, 175, 3, 62, 0, 79, 60, 59, 152, 208, 4, 62, 143, 251, 118, 63, 164, 156, 78, 63, 11, 233, 88, 63, 179, 16, 71, 63, 171, 17, 127, 63, 144, 208, 4, 62, 192, 218, 96, 60, 135, 175, 122, 63, 111, 151, 248, 62, 181, 16, 71, 63), +"format": 4119, +"index_count": 36, +"index_data": PackedByteArray(3, 0, 21, 0, 12, 0, 3, 0, 18, 0, 21, 0, 1, 0, 19, 0, 5, 0, 1, 0, 15, 0, 19, 0, 11, 0, 17, 0, 2, 0, 11, 0, 8, 0, 17, 0, 14, 0, 6, 0, 10, 0, 14, 0, 22, 0, 6, 0, 0, 0, 13, 0, 9, 0, 0, 0, 4, 0, 13, 0, 20, 0, 7, 0, 23, 0, 20, 0, 16, 0, 7, 0), +"material": ExtResource("12_hbs2y"), +"name": "truck_trailer", +"primitive": 3, +"vertex_count": 24, +"vertex_data": PackedByteArray(250, 127, 29, 63, 43, 164, 252, 187, 254, 95, 0, 192, 255, 127, 0, 0, 0, 0, 255, 255, 250, 127, 29, 63, 43, 164, 252, 187, 254, 95, 0, 192, 255, 255, 255, 255, 0, 0, 255, 191, 250, 127, 29, 63, 43, 164, 252, 187, 254, 95, 0, 192, 255, 255, 255, 127, 254, 255, 0, 128, 0, 0, 32, 191, 43, 164, 252, 187, 254, 95, 0, 192, 0, 0, 255, 127, 255, 127, 255, 191, 0, 0, 32, 191, 43, 164, 252, 187, 254, 95, 0, 192, 255, 127, 0, 0, 255, 255, 255, 255, 0, 0, 32, 191, 43, 164, 252, 187, 254, 95, 0, 192, 255, 255, 255, 255, 0, 0, 255, 191, 250, 127, 29, 63, 2, 160, 142, 63, 254, 95, 12, 64, 255, 127, 255, 127, 255, 127, 0, 128, 250, 127, 29, 63, 2, 160, 142, 63, 254, 95, 12, 64, 255, 127, 255, 255, 255, 255, 255, 255, 250, 127, 29, 63, 2, 160, 142, 63, 254, 95, 12, 64, 255, 255, 255, 127, 255, 255, 255, 255, 250, 127, 29, 63, 43, 164, 252, 187, 254, 95, 12, 64, 255, 127, 0, 0, 0, 0, 254, 255, 250, 127, 29, 63, 43, 164, 252, 187, 254, 95, 12, 64, 255, 127, 255, 127, 255, 127, 0, 128, 250, 127, 29, 63, 43, 164, 252, 187, 254, 95, 12, 64, 255, 255, 255, 127, 255, 255, 0, 128, 0, 0, 32, 191, 43, 164, 252, 187, 254, 95, 12, 64, 0, 0, 255, 127, 255, 127, 255, 191, 0, 0, 32, 191, 43, 164, 252, 187, 254, 95, 12, 64, 255, 127, 0, 0, 0, 0, 255, 255, 0, 0, 32, 191, 43, 164, 252, 187, 254, 95, 12, 64, 255, 127, 255, 127, 255, 127, 0, 128, 250, 127, 29, 63, 2, 160, 142, 63, 254, 95, 0, 192, 255, 255, 255, 255, 0, 0, 255, 191, 250, 127, 29, 63, 2, 160, 142, 63, 254, 95, 0, 192, 255, 127, 255, 255, 255, 255, 255, 255, 250, 127, 29, 63, 2, 160, 142, 63, 254, 95, 0, 192, 255, 255, 255, 127, 254, 255, 0, 128, 0, 0, 32, 191, 2, 160, 142, 63, 254, 95, 0, 192, 0, 0, 255, 127, 255, 127, 255, 191, 0, 0, 32, 191, 2, 160, 142, 63, 254, 95, 0, 192, 255, 255, 255, 255, 0, 0, 255, 191, 0, 0, 32, 191, 2, 160, 142, 63, 254, 95, 0, 192, 255, 127, 255, 255, 255, 255, 255, 255, 0, 0, 32, 191, 2, 160, 142, 63, 254, 95, 12, 64, 0, 0, 255, 127, 255, 127, 255, 191, 0, 0, 32, 191, 2, 160, 142, 63, 254, 95, 12, 64, 255, 127, 255, 127, 255, 127, 0, 128, 0, 0, 32, 191, 2, 160, 142, 63, 254, 95, 12, 64, 255, 127, 255, 255, 255, 255, 254, 255) +}] +blend_shape_mode = 0 +shadow_mesh = SubResource("ArrayMesh_8a087") + [sub_resource type="BoxShape3D" id="BoxShape3D_dpscj"] size = Vector3(1.49783, 1.38835, 3.94168) @@ -129,7 +217,7 @@ shape = SubResource("BoxShape3D_itmot") transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.97449, 0) [node name="Camera3D" type="Camera3D" parent="Body/CameraBase"] -transform = Transform3D(-0.709652, -0.170177, 0.683691, -2.11161e-08, 0.970391, 0.241539, -0.704552, 0.171409, -0.68864, 3.44908, 2.03236, -4.39379) +transform = Transform3D(-1, 2.11495e-08, -8.48259e-08, 0, 0.970296, 0.241922, 8.74227e-08, 0.241922, -0.970295, 0, 2.032, -4.394) current = true fov = 74.0 near = 0.1 @@ -154,7 +242,8 @@ attenuation_filter_cutoff_hz = 20500.0 [node name="CPUParticles3D" type="CPUParticles3D" parent="Body"] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.201696, -0.022867, -1.10448) -amount = 100 +amount = 125 +lifetime = 1.25 mesh = SubResource("QuadMesh_q42ka") direction = Vector3(0, 1, -0.5) gravity = Vector3(0, 0, 0) @@ -164,10 +253,11 @@ damping_min = 0.05 damping_max = 0.05 angle_max = 360.0 scale_amount_curve = SubResource("Curve_n4o5r") +color_ramp = SubResource("Gradient_cj6wi") [node name="BlobShadow" type="Decal" parent="Body"] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.00169557, -0.222867, 0.145518) -extents = Vector3(0.8, 2, 1.5) +size = Vector3(1.6, 4, 3) texture_albedo = ExtResource("11_ifj1h") upper_fade = 2.0 lower_fade = 1.0 @@ -241,11 +331,11 @@ mesh = ExtResource("2_q28iu") [node name="Trailer" type="MeshInstance3D" parent="Trailer"] layers = 2 gi_mode = 2 -mesh = ExtResource("5_13c4b") +mesh = SubResource("ArrayMesh_e2bcg") [node name="BlobShadow" type="Decal" parent="Trailer/Trailer"] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.00339114, -0.160769, 0.0766983) -extents = Vector3(0.6, 2, 2.1) +size = Vector3(1.2, 4, 4.2) texture_albedo = ExtResource("11_ifj1h") upper_fade = 2.0 lower_fade = 1.0 @@ -257,7 +347,7 @@ shape = SubResource("BoxShape3D_dpscj") [node name="BlobShadow" type="Decal" parent="Trailer"] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.003, -0.661, -1.05) -extents = Vector3(0.8, 2, 0.9) +size = Vector3(1.6, 4, 1.8) texture_albedo = ExtResource("11_ifj1h") upper_fade = 2.0 lower_fade = 1.0 diff --git a/3d/truck_town/vehicles/truck_trailer.png.import b/3d/truck_town/vehicles/truck_trailer.png.import index 4d02eade..63691fe6 100644 --- a/3d/truck_town/vehicles/truck_trailer.png.import +++ b/3d/truck_town/vehicles/truck_trailer.png.import @@ -16,9 +16,9 @@ dest_files=["res://.godot/imported/truck_trailer.png-37383ff0a7e2053e450f6ec8ff2 [params] compress/mode=0 +compress/high_quality=false compress/lossy_quality=0.7 compress/hdr_compression=1 -compress/bptc_ldr=0 compress/normal_map=0 compress/channel_pack=0 mipmaps/generate=true diff --git a/3d/truck_town/vehicles/vehicle.gd b/3d/truck_town/vehicles/vehicle.gd index c5223e93..b74c2418 100644 --- a/3d/truck_town/vehicles/vehicle.gd +++ b/3d/truck_town/vehicles/vehicle.gd @@ -2,6 +2,7 @@ extends VehicleBody3D const STEER_SPEED = 1.5 const STEER_LIMIT = 0.4 +const BRAKE_STRENGTH = 2.0 @export var engine_force_value := 40.0 @@ -10,7 +11,6 @@ var _steer_target := 0.0 @onready var desired_engine_pitch: float = $EngineSound.pitch_scale - func _physics_process(delta: float): var fwd_mps := (linear_velocity * transform.basis).x @@ -30,7 +30,8 @@ func _physics_process(delta: float): for joypad in Input.get_connected_joypads(): Input.start_joy_vibration(joypad, 0.0, 0.5, 0.1) - if Input.is_action_pressed(&"accelerate"): + # Automatically accelerate when using touch controls (reversing overrides acceleration). + if DisplayServer.is_touchscreen_available() or Input.is_action_pressed(&"accelerate"): # Increase engine force at low speeds to make the initial acceleration faster. var speed := linear_velocity.length() if speed < 5.0 and not is_zero_approx(speed): @@ -38,26 +39,22 @@ func _physics_process(delta: float): else: engine_force = engine_force_value - # Apply analog throttle factor for more subtle acceleration if not fully holding down the trigger. - engine_force *= Input.get_action_strength(&"accelerate") + if not DisplayServer.is_touchscreen_available(): + # Apply analog throttle factor for more subtle acceleration if not fully holding down the trigger. + engine_force *= Input.get_action_strength(&"accelerate") else: engine_force = 0.0 if Input.is_action_pressed(&"reverse"): - # Increase engine force at low speeds to make the initial acceleration faster. - if fwd_mps >= -1.0: - var speed := linear_velocity.length() - if speed < 5.0 and not is_zero_approx(speed): - engine_force = -clampf(engine_force_value * 5.0 / speed, 0.0, 100.0) - else: - engine_force = -engine_force_value - - # Apply analog brake factor for more subtle braking if not fully holding down the trigger. - engine_force *= Input.get_action_strength(&"reverse") + # Increase engine force at low speeds to make the initial reversing faster. + var speed := linear_velocity.length() + if speed < 5.0 and not is_zero_approx(speed): + engine_force = -clampf(engine_force_value * BRAKE_STRENGTH * 5.0 / speed, 0.0, 100.0) else: - brake = 0.0 - else: - brake = 0.0 + engine_force = -engine_force_value * BRAKE_STRENGTH + + # Apply analog brake factor for more subtle braking if not fully holding down the trigger. + engine_force *= Input.get_action_strength(&"reverse") steering = move_toward(steering, _steer_target, STEER_SPEED * delta)