Navigation Blocker?

So I have written an AI for a wolf, but there is a major problem.
When they start chasing the player the wolfs pack together, but when on hits the back on another wolf then he stops instantly and has to start running again. This is a large problem because I have made them have a slow acceleration.

Anyone know of a way to add maybe a navigation disrupter or stopper, around each wolf to stop them from running into each other?

You could try using a Detour Crowd AI Controller for your wolves instead of the normal AI Controller and see if that helps. You can then check out the screenshot to see how to enable it.

It can sometimes create stuttering movement when dealing with large number of AI, but it has worked for me in the past when there are only a handful of AI bots trying to chase along the same path.

Yeah, use either detour crowd or RVO (it’s enabled by a flag on pawn’s CharacterMovementComponent). I’d also suggest disabling collision between them, at least when they’re in the “chase” behavior.

Also is there a away to change the avoidance distance? (In BP)

I don’t think that you can change the avoidance distance using BP, but playing around with the ‘Avoidance Config’ values in the ‘Crowd Manager’ section under Project settings did make some difference, but I’m not exactly sure how they exactly affect the pathing avoidance. Mieszko can correct me if I’m wrong here, but I remember reading somewhere that the four avoidance config settings are for different quality settings for the avoidance.

Assuming that the last of these settings is the highest quality, it seems that increasing ‘Velocity Bias’, ‘Adaptive Divisions’, ‘Adaptive Rings’ & ‘Adaptive Depth’ might increase the quality of your avoidance.

The one other alternative that you could use, as Mieszko mentioned is the RVO avoidance in the character movement component of your characters. Here you can change the avoidance radius, but RVO can sometimes push your bots outside of the nav mesh.

If both of these don’t work as you would like, I think the best bet is to make your own, perhaps based on the group movement in the free RTS Community project or the RTS Toolkit in the marketplace.