reword FIXME

This commit is contained in:
tonydero 2024-10-15 15:06:41 -06:00
parent 347abe64bf
commit 7844cad018

View File

@ -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()