Just something simple to start with would be great. I’ve tried blocking the navmesh path so that he is stuck in his crease while still following the puck, but at majority of angles he wasn’t really concerned about blocking the net, but instead trying to get to the puck. Basically I just want something that tells the goalie to guard his net from the puck. Blueprints or Behavior trees would work although I’m not well experienced behavior trees. Any help would be appreciated.
Exactly the same I’m trying. Did you figure out how to do it? I’m also not very good with behavior trees…
line trace ball velocity, when the line trace hits the net,
then make the guard go to the hit location (may be add some offset)
I just went through this with someone else.
The best method is to put a projectile trajectory on the puck itself.
Then, update at least a meter in front of the puck from the trajectory and have the puck broadcast it to the AI player.
Give the AI a slowed reaction time (i.e update every .5 sec) so that they don’t instantly stop the puck.
Something like that would work.