Restored enemy animations

This commit is contained in:
Marco 2025-05-08 10:23:00 +02:00
commit e85930df5e
3 changed files with 5 additions and 1 deletions

View file

@ -100,6 +100,7 @@ public partial class Alert : EnemyStateBase
NavigationModule.Move(StorageModule.EnemyData.MovementSpeed);
StorageModule.FacingDirection = MainObject.Velocity.SnapToCardinal().Normalized();
StorageModule.AimingDirection = StorageModule.FacingDirection;
}
private void MoveTowardsPosition(Vector2 position)