Add more snap_zone sounds

This commit is contained in:
JonShard
2026-07-28 13:11:53 +02:00
parent 7d694de307
commit b9c9a3b73a
4 changed files with 25 additions and 3 deletions
-2
View File
@@ -23,12 +23,10 @@ func _ready() -> void:
func _process(delta: float) -> void:
print("SpeedSquare: ", _rigid.linear_velocity.length_squared())
# if we're held or moving, reset timer and return
if _pickable.get_picked_up_by() or _rigid.linear_velocity.length_squared() > pow(minimum_speed_square,2):
_time_left = time_to_despawn
get_parent().visible = true
print("DespawningItem resetting timer: ", get_parent())
return