Files
escape/Objects/ladekast.tscn
T
2023-02-02 21:06:09 +01:00

26 lines
1.3 KiB
Plaintext

[gd_scene load_steps=5 format=3 uid="uid://bmuy4jimpch1i"]
[ext_resource type="PackedScene" uid="uid://bjbpkdxe3m235" path="res://Objects/Meshes/ladekast.glb" id="1_gw865"]
[ext_resource type="Script" path="res://Scripts/ladekast.gd" id="2_y7ua8"]
[sub_resource type="ConvexPolygonShape3D" id="ConvexPolygonShape3D_iktb3"]
points = PackedVector3Array(-0.881086, 1.69898, -0.999744, 0.883817, 1.95567, 1.02158, 0.723325, 1.95567, 1.02158, 0.883817, 1.95567, -0.999945, 0.883817, 1.69898, 1.02158, -0.881086, 1.95567, 1.02138, 0.883817, 1.69898, -0.999945, -0.881086, 1.69898, 1.02138, -0.881086, 1.95567, -0.999744)
[sub_resource type="BoxShape3D" id="BoxShape3D_qmmg3"]
size = Vector3(2, 5, 2)
[node name="ladekast" instance=ExtResource("1_gw865")]
script = ExtResource("2_y7ua8")
[node name="StaticBody3D" type="StaticBody3D" parent="Kast/Drawer" index="0"]
[node name="CollisionShape3D" type="CollisionShape3D" parent="Kast/Drawer/StaticBody3D" index="0"]
shape = SubResource("ConvexPolygonShape3D_iktb3")
[node name="StaticBody3D" type="StaticBody3D" parent="Kast" index="5"]
[node name="CollisionShape3D" type="CollisionShape3D" parent="Kast/StaticBody3D" index="0"]
shape = SubResource("BoxShape3D_qmmg3")
[connection signal="input_event" from="Kast/Drawer/StaticBody3D" to="." method="_on_static_body_3d_input_event"]