Hi all, I wonder if someone could perhaps assist me with a strange problem I’m having - I’ve followed the behavior tree quickstart guide on this site through all the way and most of it is working perfectly:
https://docs.unrealengine.com/latest/INT/Engine/AI/BehaviorTrees/QuickStart/
I have one issue in that when the bot loses sight of my character, it does not just stop at my character’s last seen ‘TargetLocation’, it keeps chasing me. It really is very strange because it looks like the values to all of the objects / variables are correct after the bot loses site of my character (TargetToFollow = None, TargetLocation = My last ‘seen’ location, HomeLocation = Never changes). Somehow the AI bot still knows where I am despite the TargetLocation only being set to where it last saw me and I’m out of sight well before it even gets to that location.
I don’t know if it’ll help but during this period of time where it’s magically finding me, the behaviour tree nodes rapidly flash between RapidMoveTo and MoveTo (TargetLocation) as can be seen here:
https://docs.unrealengine.com/latest/INT/Engine/AI/BehaviorTrees/QuickStart/14/index.html
I re-reviewed everything and I can’t see anything different between what I’ve done and what the guide has instructed me to do.
I can prevent the bot from magically finding me once I’m out of sight by deleting the ‘Moveto (TargetLocation)’ node, but I don’t want to do this because I want the bot to actually go to the point that it actually last saw me at.
This suggests that it’s some sort of issue with that Moveto node, but how could this be?
I’m very confused right now, anyone have any idea what the issue could be?