-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCollectible.tscn
26 lines (19 loc) · 1.05 KB
/
Collectible.tscn
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
[gd_scene load_steps=3 format=3 uid="uid://cbq7iwdmtqsmx"]
[ext_resource type="Script" path="res://collectible.gd" id="1_pp04p"]
[ext_resource type="AudioStream" uid="uid://nafoaesyk0ly" path="res://sounds/sfx/collectibleshimmer.mp3" id="2_lukui"]
[node name="Area3D" type="Area3D" node_paths=PackedStringArray("AUDIO_PLAYER")]
script = ExtResource("1_pp04p")
AUDIO_PLAYER = NodePath("AudioStreamPlayer3D")
idle_audio = ExtResource("2_lukui")
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
transform = Transform3D(1, 0, 0, 0, -4.37114e-08, -1, 0, 1, -4.37114e-08, 0.0188398, 0.941526, 1.54568)
[node name="Meshes" type="Node3D" parent="."]
[node name="AudioStreamPlayer3D" type="AudioStreamPlayer3D" parent="."]
volume_db = 2.824
autoplay = true
[node name="OmniLight3D" type="OmniLight3D" parent="."]
light_energy = 0.22
omni_range = 4.329
omni_attenuation = 2.0
[connection signal="body_entered" from="." to="." method="_on_body_entered"]
[connection signal="finished" from="AudioStreamPlayer3D" to="." method="_on_audio_stream_player_3d_finished"]