I’m attempting to use “Add Movement Input” to allow an AI to cruise alongside the player. My Behaviour first tries to catch up the player, using the BTTask_ApproachPlayer Task in my behaviour tree, as you can see below.
When BTTask_MatchPlayer is called, I’m hoping for a constant tick, which allows the AI Move To to constantly get the Actor location vector, add 100uu in my direction of travel, and then use this as a destination.
However, after catching up the player, my AI just stops when it reaches BTTask_MatchPlayer. Have I just made an error with how this is able to be called?
Eventually, I want to grab the speed of the player character and use this to match my AI’s, although right now I’d settle for it moving straight forward using it’s walking speed.