2025-12-06 22:03:58 +00:00
|
|
|
extends Sprite2D
|
|
|
|
|
|
|
|
|
|
@export var destination: Node2D = null
|
|
|
|
|
|
|
|
|
|
func _process(delta: float) -> void:
|
2025-12-08 02:12:30 +00:00
|
|
|
if !destination: return
|
|
|
|
|
|
2025-12-06 22:03:58 +00:00
|
|
|
look_at(destination.global_position)
|
|
|
|
|
rotation += deg_to_rad(90)
|