Browse Source

:art: Replace jeep wheels

To make them more off-road.
DricomDragon 1 year ago
parent
commit
0fe9ed9753

+ 8 - 27
godot/component/entity/vehicles/jeep/Jeep.tscn

@@ -1,8 +1,8 @@
-[gd_scene load_steps=7 format=3 uid="uid://cj5dmtqadl5nf"]
+[gd_scene load_steps=6 format=3 uid="uid://cj5dmtqadl5nf"]
 
 [ext_resource type="Script" path="res://component/entity/vehicles/jeep/jeep.gd" id="1_fjw46"]
 [ext_resource type="PackedScene" uid="uid://dlaj4npd144qd" path="res://component/entity/vehicles/jeep/OrangeJeep_noWheel.glb" id="1_qgclq"]
-[ext_resource type="PackedScene" uid="uid://cg6eyxgui8y2s" path="res://component/entity/vehicles/jeep/OrangeJeep_wheel.glb" id="2_f6y5a"]
+[ext_resource type="PackedScene" uid="uid://b4ra2s5exappk" path="res://component/entity/vehicles/jeep/OrangeJeepOpen_wheel.glb" id="3_skal6"]
 
 [sub_resource type="BoxShape3D" id="BoxShape3D_1maan"]
 size = Vector3(1, 0.769157, 2.98936)
@@ -10,9 +10,6 @@ size = Vector3(1, 0.769157, 2.98936)
 [sub_resource type="BoxShape3D" id="BoxShape3D_skl11"]
 size = Vector3(0.28984, 1.56027, 0.993305)
 
-[sub_resource type="BoxMesh" id="BoxMesh_f6lpk"]
-size = Vector3(0.3, 0.3, 0.3)
-
 [node name="Jeep" type="VehicleBody3D" groups=["vehicle"]]
 transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.623038, 0)
 collision_layer = 8
@@ -49,12 +46,7 @@ suspension_stiffness = 50.0
 damping_compression = 0.3
 damping_relaxation = 0.5
 
-[node name="OrangeJeep_wheel" parent="FrontRightWheel" instance=ExtResource("2_f6y5a")]
-transform = Transform3D(-1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0)
-
-[node name="MeshInstance3D" type="MeshInstance3D" parent="FrontRightWheel"]
-transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.165207, 0, 0)
-mesh = SubResource("BoxMesh_f6lpk")
+[node name="OrangeJeepOpen_wheel" parent="FrontRightWheel" instance=ExtResource("3_skal6")]
 
 [node name="FrontLeftWheel" type="VehicleWheel3D" parent="."]
 transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.6, 0.332104, 1)
@@ -65,11 +57,8 @@ suspension_stiffness = 50.0
 damping_compression = 0.3
 damping_relaxation = 0.5
 
-[node name="OrangeJeep_wheel" parent="FrontLeftWheel" instance=ExtResource("2_f6y5a")]
-
-[node name="MeshInstance3D" type="MeshInstance3D" parent="FrontLeftWheel"]
-transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.154773, 0, 0)
-mesh = SubResource("BoxMesh_f6lpk")
+[node name="OrangeJeepOpen_wheel2" parent="FrontLeftWheel" instance=ExtResource("3_skal6")]
+transform = Transform3D(-1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0)
 
 [node name="RearLeftWheel" type="VehicleWheel3D" parent="."]
 transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.6, 0.332104, -1.01869)
@@ -80,11 +69,8 @@ suspension_stiffness = 50.0
 damping_compression = 0.3
 damping_relaxation = 0.5
 
-[node name="OrangeJeep_wheel" parent="RearLeftWheel" instance=ExtResource("2_f6y5a")]
-
-[node name="MeshInstance3D" type="MeshInstance3D" parent="RearLeftWheel"]
-transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.173029, 0, 0)
-mesh = SubResource("BoxMesh_f6lpk")
+[node name="OrangeJeepOpen_wheel3" parent="RearLeftWheel" instance=ExtResource("3_skal6")]
+transform = Transform3D(-1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0)
 
 [node name="RearRightWheel" type="VehicleWheel3D" parent="."]
 transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.6, 0.332104, -1.019)
@@ -95,12 +81,7 @@ suspension_stiffness = 50.0
 damping_compression = 0.3
 damping_relaxation = 0.5
 
-[node name="OrangeJeep_wheel" parent="RearRightWheel" instance=ExtResource("2_f6y5a")]
-transform = Transform3D(-1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0)
-
-[node name="MeshInstance3D" type="MeshInstance3D" parent="RearRightWheel"]
-transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.165207, 0, 0)
-mesh = SubResource("BoxMesh_f6lpk")
+[node name="OrangeJeepOpen_wheel4" parent="RearRightWheel" instance=ExtResource("3_skal6")]
 
 [node name="RearSeat" type="Node3D" parent="." groups=["seat"]]
 unique_name_in_owner = true

BIN
godot/component/entity/vehicles/jeep/OrangeJeepOpen_noWheel.glb


+ 32 - 0
godot/component/entity/vehicles/jeep/OrangeJeepOpen_noWheel.glb.import

@@ -0,0 +1,32 @@
+[remap]
+
+importer="scene"
+importer_version=1
+type="PackedScene"
+uid="uid://duaq820autllv"
+path="res://.godot/imported/OrangeJeepOpen_noWheel.glb-9e0efd2a22870d84488658755b0e5de6.scn"
+
+[deps]
+
+source_file="res://component/entity/vehicles/jeep/OrangeJeepOpen_noWheel.glb"
+dest_files=["res://.godot/imported/OrangeJeepOpen_noWheel.glb-9e0efd2a22870d84488658755b0e5de6.scn"]
+
+[params]
+
+nodes/root_type="Node3D"
+nodes/root_name="Scene Root"
+nodes/apply_root_scale=true
+nodes/root_scale=1.0
+meshes/ensure_tangents=true
+meshes/generate_lods=true
+meshes/create_shadow_meshes=true
+meshes/light_baking=1
+meshes/lightmap_texel_size=0.2
+skins/use_named_skins=true
+animation/import=true
+animation/fps=30
+animation/trimming=false
+animation/remove_immutable_tracks=true
+import_script/path=""
+_subresources={}
+gltf/embedded_image_handling=1