diff --git a/RX-Car.glb b/RX-Car.glb new file mode 100644 index 0000000..37c20fa Binary files /dev/null and b/RX-Car.glb differ diff --git a/RX-Maybe-Full.glb.import b/RX-Car.glb.import similarity index 77% rename from RX-Maybe-Full.glb.import rename to RX-Car.glb.import index 65da564..b221731 100644 --- a/RX-Maybe-Full.glb.import +++ b/RX-Car.glb.import @@ -3,13 +3,13 @@ importer="scene" importer_version=1 type="PackedScene" -uid="uid://b8lbj1eualsmd" -path="res://.godot/imported/RX-Maybe-Full.glb-64feddc11af9546829fa841e47d354d8.scn" +uid="uid://b4q25yxjds0hu" +path="res://.godot/imported/RX-Car.glb-f540b9d01ae3920b697b9d0b94913032.scn" [deps] -source_file="res://RX-Maybe-Full.glb" -dest_files=["res://.godot/imported/RX-Maybe-Full.glb-64feddc11af9546829fa841e47d354d8.scn"] +source_file="res://RX-Car.glb" +dest_files=["res://.godot/imported/RX-Car.glb-f540b9d01ae3920b697b9d0b94913032.scn"] [params] diff --git a/RX-Maybe-Full.glb b/RX-Maybe-Full.glb deleted file mode 100644 index 6687ae7..0000000 Binary files a/RX-Maybe-Full.glb and /dev/null differ diff --git a/RX-Wheel.glb b/RX-Wheel.glb new file mode 100644 index 0000000..b55d544 Binary files /dev/null and b/RX-Wheel.glb differ diff --git a/RX-Wheel.glb.import b/RX-Wheel.glb.import new file mode 100644 index 0000000..fdcd3e8 --- /dev/null +++ b/RX-Wheel.glb.import @@ -0,0 +1,42 @@ +[remap] + +importer="scene" +importer_version=1 +type="PackedScene" +uid="uid://ceia8k20k378e" +path="res://.godot/imported/RX-Wheel.glb-e103fe22940294f5cfb166b2ac42b296.scn" + +[deps] + +source_file="res://RX-Wheel.glb" +dest_files=["res://.godot/imported/RX-Wheel.glb-e103fe22940294f5cfb166b2ac42b296.scn"] + +[params] + +nodes/root_type="" +nodes/root_name="" +nodes/root_script=null +nodes/apply_root_scale=true +nodes/root_scale=1.0 +nodes/import_as_skeleton_bones=false +nodes/use_name_suffixes=true +nodes/use_node_type_suffixes=true +meshes/ensure_tangents=true +meshes/generate_lods=true +meshes/create_shadow_meshes=true +meshes/light_baking=1 +meshes/lightmap_texel_size=0.2 +meshes/force_disable_compression=false +skins/use_named_skins=true +animation/import=true +animation/fps=30 +animation/trimming=false +animation/remove_immutable_tracks=true +animation/import_rest_as_RESET=false +import_script/path="" +materials/extract=0 +materials/extract_format=0 +materials/extract_path="" +_subresources={} +gltf/naming_version=2 +gltf/embedded_image_handling=1 diff --git a/car.tscn b/car.tscn index 545f762..274bec5 100644 --- a/car.tscn +++ b/car.tscn @@ -1,16 +1,16 @@ [gd_scene load_steps=3 format=3 uid="uid://dklnyvh2pawj1"] -[ext_resource type="PackedScene" uid="uid://b8lbj1eualsmd" path="res://RX-Maybe-Full.glb" id="1_7822p"] +[ext_resource type="PackedScene" uid="uid://b4q25yxjds0hu" path="res://RX-Car.glb" id="1_7822p"] [sub_resource type="ConvexPolygonShape3D" id="ConvexPolygonShape3D_7822p"] -points = PackedVector3Array(4.139968, -1.4051584, 7.194319, 4.086217, 0.67367995, 3.550845, 3.8805149, 0.06082487, 10.316475, 3.8805149, -0.28529537, 10.365959, 3.8805149, -1.3395332, 9.901031, 3.8805149, -1.4882485, 9.093161, 4.101205, -1.452525, 5.8869953, 4.090868, -1.3400624, 2.313721, 4.090868, -0.7586968, 2.240069, 2.9662268, 1.1687802, 4.7292776, 2.9662268, 1.1687802, 7.0021334, 3.7073739, 0.30268574, 10.304966, 3.909458, -0.7494352, -0.95228624, 3.8805149, -0.07201326, 0.64389133, 3.7187445, -0.36256373, -0.78771996, 3.3249133, 0.22515261, -0.4091025, 3.8231456, -0.5536179, 10.689338, 3.7125423, -0.92567074, 10.653663, 1.8803484, -1.0087608, 10.649059, -0.881122, -1.3395332, 9.901031, -0.881122, -1.4882485, 9.093161, 3.8805149, -1.4882485, 0.2422576, 3.8805149, -1.4538481, -0.68759924, 2.3806484, 1.1936544, 4.7292776, 3.238084, 0.24685133, -0.4091025, 2.591002, 0.40853286, -0.4091025, 2.3806484, 1.1936544, 7.0021334, 2.4824657, 0.6202272, 10.377467, 3.0582244, 0.58291614, 10.332586, 3.7507885, -0.7499644, -0.9614927, 2.81531, -0.7536691, -1.0144302, 1.8803484, -0.75737375, -1.0662167, 1.8803484, -0.52609766, 10.685885, -0.810315, -0.5536179, 10.690489, 1.1190445, -1.0087608, 10.649059, -0.65733075, -0.89788586, 10.653663, -0.881122, -0.28529537, 10.365959, -1.1400583, -1.4051584, 7.194319, -1.1018122, -1.452525, 5.8869953, -0.881122, -1.4882485, 0.2422576, -0.881122, -1.4538481, -0.68759924, 1.8803484, -0.9444586, -0.9649452, 1.8803484, 1.2148238, 4.7292776, 0.40839112, 0.40853286, -0.4091025, 1.1190445, 1.2150882, 4.7292776, 1.8803484, 1.2148238, 7.0021334, 0.51692724, 0.6202272, 10.377467, 1.1190445, 1.2150882, 7.0021334, 1.1190445, -0.75737375, -1.0662167, 1.1190445, -0.52609766, 10.685885, -0.881122, 0.06082487, 10.316475, -0.881122, -0.058517814, 10.333736, -0.059348106, 0.58291614, 10.332586, -0.70849776, 0.30268574, 10.304966, -1.0868238, 0.67367995, 3.550845, -1.0919923, -0.7586968, 2.240069, -1.0919923, -1.3400624, 2.313721, -0.9157502, -0.75737375, -1.0121285, -0.88990825, -1.2715263, -0.77275944, 0.1871841, -0.75737375, -1.0420496, 1.1190445, -0.9444586, -0.9649452, -0.8175508, -0.55996877, -0.90049964, -0.7193514, -0.36256373, -0.78771996, -0.23920804, 0.24685133, -0.4091025, 0.03316605, 1.1687802, 4.7292776, 0.03316605, 1.1687802, 7.0021334, -0.32552016, 0.22515261, -0.4091025, -0.881122, -0.07201326, 0.64389133) +points = PackedVector3Array(2.639865, -0.93180054, 2.1575794, 2.5861135, 1.1470379, -1.4858942, 2.3804116, 0.5341828, 5.2797356, 2.3804116, 0.18806255, 5.32922, 2.3804116, -0.8661753, 4.864291, 2.3804116, -1.0148906, 4.0564213, 2.6011019, -0.9791671, 0.85025597, 2.590765, -0.8667045, -2.7230182, 2.590765, -0.28533888, -2.7966702, 1.4661236, 1.6421381, -0.30746174, 1.4661236, 1.6421381, 1.965394, 2.2072706, 0.77604365, 5.2682266, 2.4093547, -0.27607727, -5.989025, 2.3804116, 0.40134466, -4.392848, 2.2186413, 0.11079419, -5.824459, 1.82481, 0.6985105, -5.445842, 2.3230424, -0.08025998, 5.6525984, 2.212439, -0.45231283, 5.6169233, 0.3802452, -0.5354029, 5.61232, -2.3812249, -0.8661753, 4.864291, -2.3812249, -1.0148906, 4.0564213, 2.3804116, -1.0148906, -4.7944813, 2.3804116, -0.9804902, -5.7243385, 0.8805454, 1.6670123, -0.30746174, 1.7379808, 0.72020924, -5.445842, 1.0908988, 0.8818908, -5.445842, 0.8805454, 1.6670123, 1.965394, 0.9823625, 1.0935851, 5.340728, 1.5581212, 1.056274, 5.295847, 2.2506852, -0.2766065, -5.998232, 1.3152068, -0.28031117, -6.0511694, 0.3802452, -0.28401583, -6.102956, 0.3802452, -0.05273974, 5.649146, -2.310418, -0.08025998, 5.6537495, -0.38105845, -0.5354029, 5.61232, -2.1574335, -0.42452794, 5.6169233, -2.3812249, 0.18806255, 5.32922, -2.640161, -0.93180054, 2.1575794, -2.601915, -0.9791671, 0.85025597, -2.3812249, -1.0148906, -4.7944813, -2.3812249, -0.9804902, -5.7243385, 0.3802452, -0.4711007, -6.001684, 0.3802452, 1.6881818, -0.30746174, -1.0917118, 0.8818908, -5.445842, -0.38105845, 1.6884462, -0.30746174, 0.3802452, 1.6881818, 1.965394, -0.98317564, 1.0935851, 5.340728, -0.38105845, 1.6884462, 1.965394, -0.38105845, -0.28401583, -6.102956, -0.38105845, -0.05273974, 5.649146, -2.3812249, 0.5341828, 5.2797356, -2.3812249, 0.4148401, 5.296997, -1.559451, 1.056274, 5.295847, -2.2086005, 0.77604365, 5.2682266, -2.5869267, 1.1470379, -1.4858942, -2.5920951, -0.28533888, -2.7966702, -2.5920951, -0.8667045, -2.7230182, -2.415853, -0.28401583, -6.0488677, -2.390011, -0.7981685, -5.8094983, -1.3129189, -0.28401583, -6.0787888, -0.38105845, -0.4711007, -6.001684, -2.3176537, -0.08661085, -5.9372387, -2.2194543, 0.11079419, -5.824459, -1.739311, 0.72020924, -5.445842, -1.4669368, 1.6421381, -0.30746174, -1.4669368, 1.6421381, 1.965394, -1.825623, 0.6985105, -5.445842, -2.3812249, 0.40134466, -4.392848) [node name="Car" type="RigidBody3D"] mass = 1000.0 -[node name="RX-Maybe-Full" parent="." instance=ExtResource("1_7822p")] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -1.5, 0, 0) - -[node name="CollisionShape3D2" type="CollisionShape3D" parent="."] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -1.5, 2.5993881, -4.478353) +[node name="CollisionShape3D" type="CollisionShape3D" parent="."] +transform = Transform3D(0.36002815, 0, 0, 0, 0.36002856, 0, 0, 0, 0.36002815, -0.010458469, 0.12041265, -0.23569715) shape = SubResource("ConvexPolygonShape3D_7822p") + +[node name="RX-Car" parent="." instance=ExtResource("1_7822p")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.5505377, 0.29083502, -2.049065) diff --git a/main.tscn b/main.tscn index 4cb7d85..364f0c0 100644 --- a/main.tscn +++ b/main.tscn @@ -1,5 +1,6 @@ -[gd_scene load_steps=6 format=3 uid="uid://0g0o5q26t5d4"] +[gd_scene load_steps=8 format=3 uid="uid://0g0o5q26t5d4"] +[ext_resource type="Texture2D" uid="uid://qsu705j2k7kr" path="res://rtqgy8re.png" id="1_0xm2m"] [ext_resource type="PackedScene" uid="uid://dklnyvh2pawj1" path="res://car.tscn" id="1_ig7tw"] [sub_resource type="ProceduralSkyMaterial" id="ProceduralSkyMaterial_7dm0k"] @@ -15,6 +16,9 @@ sky = SubResource("Sky_ig7tw") tonemap_mode = 2 glow_enabled = true +[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_0xm2m"] +albedo_texture = ExtResource("1_0xm2m") + [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_7dm0k"] albedo_color = Color(0.3366, 0.51985997, 0.66, 1) @@ -28,18 +32,19 @@ shadow_enabled = true environment = SubResource("Environment_0xm2m") [node name="Camera3D" type="Camera3D" parent="."] -transform = Transform3D(0.6360783, -0.11979078, 0.7622694, -1.4901161e-08, 0.987876, 0.15524495, -0.77162457, -0.09874797, 0.62836653, 25.20988, 10.386948, 12.099594) - -[node name="Car" parent="." instance=ExtResource("1_ig7tw")] -transform = Transform3D(1, 0, 0, 0, 0.9398835, -0.34149528, 0, 0.34149528, 0.9398835, 0, 20.074368, 0) +transform = Transform3D(-0.20387852, -0.07608818, 0.97603494, -0.07710266, 0.9951264, 0.061470944, -0.9759553, -0.06272231, -0.20875147, 4.482925, 0.8071947, -35.488564) [node name="CSGBox3D2" type="CSGBox3D" parent="."] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -5.7605286, 22.911652, -59.135998) -material_override = SubResource("StandardMaterial3D_7dm0k") +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -5.7605286, 1.616055, -35.098152) +material_override = SubResource("StandardMaterial3D_0xm2m") use_collision = true -size = Vector3(47.551025, 48.6026, 39.738293) +size = Vector3(0.3, 2, 0.3) [node name="CSGBox3D" type="CSGBox3D" parent="."] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.041906357, 0.010412216, -0.36748695) material_override = SubResource("StandardMaterial3D_7dm0k") use_collision = true size = Vector3(178.75879, 1, 233.49219) + +[node name="Car" parent="." instance=ExtResource("1_ig7tw")] +transform = Transform3D(0.79928625, -0.407864, 0.4413484, 0.6009505, 0.54247415, -0.5870096, 0, 0.73441726, 0.6786982, -3.1980705, 9.413963, -35.90589) diff --git a/rtqgy8re.png b/rtqgy8re.png new file mode 100644 index 0000000..ccc887b Binary files /dev/null and b/rtqgy8re.png differ diff --git a/rtqgy8re.png.import b/rtqgy8re.png.import new file mode 100644 index 0000000..ecacd57 --- /dev/null +++ b/rtqgy8re.png.import @@ -0,0 +1,41 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://qsu705j2k7kr" +path.s3tc="res://.godot/imported/rtqgy8re.png-09b47f29947bb3d61dec6a72b73df370.s3tc.ctex" +metadata={ +"imported_formats": ["s3tc_bptc"], +"vram_texture": true +} + +[deps] + +source_file="res://rtqgy8re.png" +dest_files=["res://.godot/imported/rtqgy8re.png-09b47f29947bb3d61dec6a72b73df370.s3tc.ctex"] + +[params] + +compress/mode=2 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=true +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=0 diff --git a/wheel.tscn b/wheel.tscn new file mode 100644 index 0000000..f64bb3c --- /dev/null +++ b/wheel.tscn @@ -0,0 +1,8 @@ +[gd_scene load_steps=2 format=3 uid="uid://cqcmml6o1x724"] + +[ext_resource type="PackedScene" uid="uid://ceia8k20k378e" path="res://RX-Wheel.glb" id="1_8m8ww"] + +[node name="Wheel" type="RayCast3D"] +transform = Transform3D(-4.371139e-08, 1, 0, -1, -4.371139e-08, 0, 0, 0, 1, 0, 0, 0) + +[node name="RX-Wheel" parent="." instance=ExtResource("1_8m8ww")]