Added survivor detection of entering the elevator.

This commit is contained in:
Henry 2026-05-09 19:40:51 +01:00
parent d914608980
commit ecd79e66e3
2 changed files with 11 additions and 2 deletions

View file

@ -12,6 +12,7 @@ func _physics_process(delta):
velocity.z -= speed * delta
move_and_slide()
func _on_area_3d_area_entered(area: Area3D) -> void:
pass # Replace with function body.
var safety = %ElevatorSafeZone
if area == safety:
print("Safe!")