Why Enemy Ai Stops and not chase the player or Roam the Area?

So i have tried the Stop Movement Immediately node and she just slides to the player destination anyways without walking or running :joy:

then i tried the Deactivate Movement and she just proceeds to stop moving completely like the Disable Movement node
maybe it’s the Behavior Tree is giving that problem

Your behavior tree is fine! Now, you do need to give failure conditions on your task.

Give them another Finish Execute for failure.
image

That way the task has a way out and can reset the tree if necessary.

That being said, it looks like your stun gun makes the robot A-pose, so that means something to do with your stun activity is likely the culprit. It looks like it’s doing something to the animation and character BPs that isn’t getting restarted!

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.