betere collision shapes, wat cleanup

This commit is contained in:
2023-02-02 16:59:05 +01:00
parent 7c5e3b9958
commit 8e6b0784e5
9 changed files with 46 additions and 32 deletions
+3 -3
View File
@@ -2,12 +2,12 @@
[ext_resource type="PackedScene" uid="uid://bjbpkdxe3m235" path="res://Objects/Meshes/ladekast.glb" id="1_gw865"]
[sub_resource type="ConvexPolygonShape3D" id="ConvexPolygonShape3D_oani2"]
points = PackedVector3Array(0.881012, 1.2404, -0.991939, 0.971999, 2.0762, 0.989799, -0.976627, 2.0762, 0.989799, -0.88564, 1.2404, 0.991939, -0.976627, 2.0762, -0.989799, 0.971999, 2.0762, -0.989799, 0.881012, 1.2404, 0.991939, -0.88564, 1.2404, -0.991939, 0.977697, 1.89201, -0.995589, -0.981442, 1.92293, 0.994691, 0.913748, 1.36385, 0.993858, -0.981442, 1.92293, -0.994691, 0.977697, 1.89201, 0.995589, -0.917534, 1.39512, -0.992944, 0.913748, 1.36385, -0.993858, -0.917534, 1.39512, 0.992944)
[sub_resource type="BoxShape3D" id="BoxShape3D_qmmg3"]
size = Vector3(2, 5, 2)
[node name="ladekast" instance=ExtResource("1_gw865")]
[node name="StaticBody3D" type="StaticBody3D" parent="Kast" index="5"]
[node name="CollisionShape3D" type="CollisionShape3D" parent="Kast/StaticBody3D" index="0"]
shape = SubResource("ConvexPolygonShape3D_oani2")
shape = SubResource("BoxShape3D_qmmg3")