AI randomly stops moving
I have recently been creating the boss AI character for my game. I have the boss set up so that it will chase the player around and if its within a certain distance of the player it will a melee attack and if the player was to run away the AI would continue to follow, however, there seems to be an issue where randomly the AI will just stop moving completely and I don't know why or how to stop this from happening as I am new to this.
Does anyone have any suggestions on how I might be able to fix this?
Thanks in advance
asked May 27 '18 at 12:00 PM in Blueprint Scripting
Is your character on the nav mesh at all times during this boss fight? Because if your character is in the air for too long, or if the capsule component is sitting on the very edge of geometry (just outside of the nav mesh), the AI won't know what to do and just sit there, in its "combat" state, unable to move to your location.
Pause the game whenever the AI is standing still and look at its behaviour tree, see what it's doing.
Make sure your "On Fail" for AIMoveTo is connected to a "Finish Execute" node on each AI task. I wish you luck on your boss fight, reply if you need more info.
answered Feb 10 '19 at 02:43 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here