Goalkeeper AI

I’m making a football game and I want to make a goalkeeper AI that dives wherever the player shoots the ball. I was wondering if there are any tutorials or any assets or any sort of information I can use to make one?

You can always create a Neural network and train it with jump direccion and intensity as outputs and ball trajectory and speed as inputs.
Bye.

I am not an expert or anything but I did make a 2D penalty shooting game before so I just throw this out and hope it helps. It would be better if you give us more context about your game. My basic idea is that the goalkeeper will know when the player can shoot (you can check whether the ball is in the player’s possession and whether the ball is heading/flying towards the goal with colliders), then pick a random direction to dive in if the game receives the input to shoot. This is not exactly an AI but it is pretty simple to implement. Good luck with your game!