Tweak enemy stuff

This commit is contained in:
2023-09-13 16:40:16 -07:00
parent 17f2003fe0
commit 6138957524
12 changed files with 592 additions and 832 deletions

View File

@@ -19,7 +19,6 @@ public partial class MeleeEnemy : BasicEnemy
if (_targetingPlayer || Position.DistanceTo(target.Position) < _distanceToPlayer)
{
Position = Position.MoveToward(target.Position, _speed * (float)delta);
LookAt(-target.Position, Vector3.Up);
_targetingPlayer = true;
}
}