some workable stuff

This commit is contained in:
Victor Turgeon
2023-10-10 14:54:21 -04:00
parent b763efc1f6
commit 2687a2fdfe
7 changed files with 70 additions and 25 deletions

View File

@@ -1,4 +1,4 @@
extends AITemplate
func getDirection(position, enemyPosition) -> Vector2:
return Vector2.ZERO
return Vector2(enemyPosition - position).normalized()