3D Cameras with sweep and animation

This commit is contained in:
Marco 2025-06-27 15:06:33 +02:00
commit 7e76edc153
48 changed files with 3211 additions and 1511 deletions

View file

@ -1,8 +1,9 @@
[gd_scene load_steps=8 format=3 uid="uid://cpx5yjfg3a2hw"]
[gd_scene load_steps=9 format=3 uid="uid://cpx5yjfg3a2hw"]
[ext_resource type="Script" uid="uid://dxhf1twoxf4j0" path="res://Scripts/Interactables/AlarmBox3D.cs" id="1_4ysgp"]
[ext_resource type="AudioStream" uid="uid://bjvklk7qmlivd" path="res://SFX/288963__littlerobotsoundfactory__click_electronic_14.wav" id="3_5t8l3"]
[ext_resource type="PackedScene" uid="uid://s4yb3i3td11j" path="res://3D/BlockbenchModels/AlarmBox/Alarm_Box.gltf" id="4_4ysgp"]
[ext_resource type="Script" uid="uid://0g2sdu48c2x8" path="res://Scripts/Actors/3D/AlarmSoundPlayer3D.cs" id="4_t4kxh"]
[sub_resource type="SphereShape3D" id="SphereShape3D_itd0i"]
radius = 0.419927
@ -55,7 +56,7 @@ metadata/_edit_group_ = true
shape = SubResource("SphereShape3D_itd0i")
[node name="ActivationSound" type="AudioStreamPlayer3D" parent="."]
visible = false
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -0.197789)
stream = ExtResource("3_5t8l3")
bus = &"Effects"
@ -66,4 +67,13 @@ libraries = {
&"": SubResource("AnimationLibrary_t4kxh")
}
[node name="AlarmSound" type="AudioStreamPlayer3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -0.198581)
volume_db = -5.551
max_distance = 25.08
bus = &"Effects"
script = ExtResource("4_t4kxh")
[connection signal="PlayActivationSound" from="." to="ActivationSound" method="play"]
[editable path="blockbench_export"]