geluid voor laatje en kastje

This commit is contained in:
2023-02-08 19:09:47 +01:00
parent 2e59713250
commit 7faf85ad9b
5 changed files with 47 additions and 26 deletions
+7 -1
View File
@@ -1,7 +1,8 @@
[gd_scene load_steps=9 format=3 uid="uid://bmuy4jimpch1i"]
[gd_scene load_steps=10 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"]
[ext_resource type="AudioStream" uid="uid://d3b8cg7uqtmbh" path="res://Audio/drawer-open.wav" id="3_o5rq1"]
[sub_resource type="BoxShape3D" id="BoxShape3D_yanin"]
size = Vector3(1.8, 0.3, 0.2)
@@ -74,6 +75,11 @@ collision_priority = 2.0
[node name="CollisionShape3D" type="CollisionShape3D" parent="Kast/Drawer/Sleutel/Sleutel" index="0"]
shape = SubResource("SphereShape3D_kdt4n")
[node name="DrawerSound" type="AudioStreamPlayer3D" parent="Kast/Drawer" index="2"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.83471, 1.16603)
stream = ExtResource("3_o5rq1")
unit_size = 3.3
[node name="StaticBody3D" type="StaticBody3D" parent="Kast" index="5"]
input_ray_pickable = false