modeled boxcar

This commit is contained in:
derek
2024-07-25 16:02:54 -05:00
parent 33468194de
commit 8f4d19f730
34 changed files with 3234 additions and 86 deletions

View File

@@ -1,4 +1,4 @@
[gd_scene load_steps=20 format=3 uid="uid://do6gt53xr2l23"]
[gd_scene load_steps=22 format=3 uid="uid://do6gt53xr2l23"]
[ext_resource type="Texture2D" uid="uid://ch2dw0qlilgr1" path="res://assets/Models/garbagebin.albedo.png" id="1_7ingp"]
[ext_resource type="Texture2D" uid="uid://wogslu0rj7p8" path="res://assets/Models/garbagebin.rough.png" id="2_pv66l"]
@@ -110,9 +110,6 @@ _surfaces = [{
blend_shape_mode = 0
shadow_mesh = SubResource("ArrayMesh_o673s")
[sub_resource type="ConvexPolygonShape3D" id="ConvexPolygonShape3D_q3puy"]
points = PackedVector3Array(-1.34114, -1.10927, -0.837506, 1.54795, 1.09305, -0.772887, -1.54385, 1.09305, -0.772887, -1.54385, 0.29497, 1.07229, 1.34707, -1.15895, 0.842557, 1.34533, -1.10913, -0.837566, -1.24454, -1.15096, 0.922581, 1.54795, 0.29497, 1.07229, -1.4969, 0.816308, 0.896079, -1.48962, 0.956391, -0.936573, 1.4969, 0.862133, -0.938676, -1.24454, -1.15096, -0.872561, 1.46356, 0.822925, 0.902512, 1.42871, -0.91, -0.877194, -1.42461, -0.91, -0.877194, -1.42234, -0.908638, 0.880858, -1.52825, -0.149599, -0.595319, 1.34496, -1.15722, -0.789392, 1.53247, -0.149391, -0.59537, -1.54385, 0.444526, 1.07229, 1.42644, -0.908638, 0.880858, 1.35104, -1.11361, 0.893045, -1.34297, -1.15895, 0.842557, 1.54795, 0.444526, 1.07229, 1.4791, 1.04197, -0.878907, -1.34086, -1.15722, -0.789392, 1.53122, -0.149313, 0.599192, -1.52699, -0.149521, 0.599147, -1.475, 1.04197, -0.878907, 1.49184, 0.955115, -0.935328, 1.4969, 0.765505, 0.893765, -1.34684, -1.11376, 0.892986)
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_shhgx"]
resource_name = "garbagebin.lid"
cull_mode = 2
@@ -200,6 +197,15 @@ shadow_mesh = SubResource("ArrayMesh_uc1m4")
[sub_resource type="ConvexPolygonShape3D" id="ConvexPolygonShape3D_m8st6"]
points = PackedVector3Array(-0.769829, -0.0378294, -0.0497294, -0.769829, -0.0378294, 1.86123, -0.530913, 0.111464, 0.0101284, 0.752884, -0.0378294, -0.0497294, 0.513967, 0.111464, 1.80137, 0.513967, 0.111464, 0.0101284, -0.530913, 0.111464, 1.80137, 0.752884, -0.0378294, 1.86123, -0.739889, 0.0517234, -0.0198005, 0.752884, 0.0517234, -0.0198005, -0.739889, 0.0517234, 1.83111, 0.752884, 0.0517234, 1.83111)
[sub_resource type="BoxShape3D" id="BoxShape3D_4o1ux"]
size = Vector3(2.97995, 2.03027, 0.0967407)
[sub_resource type="BoxShape3D" id="BoxShape3D_y8tbh"]
size = Vector3(1.89148, 1.73535, 0.124577)
[sub_resource type="BoxShape3D" id="BoxShape3D_5cbax"]
size = Vector3(2.97827, 0.103943, 1.8573)
[node name="GarbageBin" type="RigidBody3D" groups=["scene_rigidbody"]]
collision_layer = 2
collision_mask = 7
@@ -211,10 +217,6 @@ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.00643747, 1.18845, 0.13203
mesh = SubResource("ArrayMesh_f1dd3")
skeleton = NodePath("")
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.00643747, 1.18845, 0.132032)
shape = SubResource("ConvexPolygonShape3D_q3puy")
[node name="garbagebin_LidLeft" type="MeshInstance3D" parent="."]
transform = Transform3D(1, 0, 0, 0, -0.640112, 0.768282, 0, -0.768282, -0.640112, -0.720451, 2.21995, -0.722729)
mesh = SubResource("ArrayMesh_36x6e")
@@ -232,3 +234,23 @@ skeleton = NodePath("")
[node name="CollisionShape3D3" type="CollisionShape3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 0.995237, -0.0974839, 0, 0.0974839, 0.995237, 0.791263, 2.21995, -0.729617)
shape = SubResource("ConvexPolygonShape3D_m8st6")
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.00279236, 1.01807, 1.0014)
shape = SubResource("BoxShape3D_4o1ux")
[node name="CollisionShape3D4" type="CollisionShape3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.00279236, 1.01807, -0.714143)
shape = SubResource("BoxShape3D_4o1ux")
[node name="CollisionShape3D5" type="CollisionShape3D" parent="."]
transform = Transform3D(-4.37114e-08, 0, 1, 0, 1, 0, -1, 0, -4.37114e-08, -1.45026, 1.16792, 0.125807)
shape = SubResource("BoxShape3D_y8tbh")
[node name="CollisionShape3D6" type="CollisionShape3D" parent="."]
transform = Transform3D(-4.37114e-08, 0, 1, 0, 1, 0, -1, 0, -4.37114e-08, 1.42864, 1.16553, 0.125807)
shape = SubResource("BoxShape3D_y8tbh")
[node name="CollisionShape3D7" type="CollisionShape3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.306, 0.154236)
shape = SubResource("BoxShape3D_5cbax")