Hi, I need to get actor location from BTTask to calculate distance between enemy AI and player, then do something after. I’ve tried use get player controller and cast to my characterBP to access the actor location, however the behavior tree seems like only execute the “Search” BTTask but not running the sequence node. Below is my setup of the behavior tree for the enemyAI.
BehaviorTree:
Search BTTask: