Tweak enemy stuff
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user