This commit is contained in:
Clevertop 2024-08-13 23:13:16 +10:00
parent c9446ea16e
commit 22c132ca78
3 changed files with 6 additions and 5 deletions

View file

@ -17,6 +17,7 @@ size = Vector3(0.5, 0.5, 0.5)
points = PackedVector3Array(0.25, 0.25, 0.25, 0.25, 0.25, -0.25, -0.25, 0.25, 0.25, 0.25, -0.25, 0.25, 0.25, -0.25, -0.25, -0.25, 0.25, -0.25, -0.25, -0.25, 0.25, -0.25, -0.25, -0.25)
[node name="BaseCommand" type="RigidBody3D" node_paths=PackedStringArray("mesh", "collider")]
can_sleep = false
script = ExtResource("1_ra6j6")
mesh = NodePath("MeshInstance3D")
collider = NodePath("CollisionShape3D3")

File diff suppressed because one or more lines are too long

View file

@ -78,11 +78,11 @@ func _process(delta):
if activated_pedestal.has_command:
print("broadcasting: " + activated_pedestal.placed_command.command_name)
broadcast.emit(activated_pedestal.placed_command.command_name)
chime_player.volume_db = 0
chime_player.volume_db = -10
chime_player.pitch_scale = 1
chime_player.play()
else:
chime_player.volume_db = -10
chime_player.volume_db = -20
chime_player.pitch_scale = 0.5
chime_player.play()