From 7844cad01841e5a88263fa8b17c222b705dd6b9f Mon Sep 17 00:00:00 2001 From: tonydero Date: Tue, 15 Oct 2024 15:06:41 -0600 Subject: [PATCH] reword FIXME --- scripts/NPCEnemy.gd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/NPCEnemy.gd b/scripts/NPCEnemy.gd index a294a90..a8d6eda 100644 --- a/scripts/NPCEnemy.gd +++ b/scripts/NPCEnemy.gd @@ -40,7 +40,7 @@ func _process(_delta: float) -> void: func _physics_process(_delta): velocity = position.direction_to(target) * speed # look_at(target) - # FIXME want enemy to stop only when touching something, to stop vibrating + # FIXME want enemy to stop when touching something, to prevent vibrating if position.distance_to(target) > 10 and get_slide_collision_count() == prevCollisions: move_and_slide() prevCollisions = get_slide_collision_count()