Download

AI Movement Not Stopping

I’m trying to get a character to stop ai moving when I play a animation montage. I’m using a behavior tree with move to nodes. I created a decorator on each that aborts self based on boolean blackboard value set on taking damage. Then I created a notify on the end of the animation montage. On the notify event I set the blackboard key back to false. What seems to be happening is that there is no movement while the montage is playing but then afterwards the character does a weird slide towards a location, almost like the position kept going and it is catching up. I also put the stop movement immediately node at the take damage part.