I want to create a task in my behavior tree where my enemy AI follows a specified path until it sees the player. From what I found, the best way for my AI to follow a path is to use a spline. So I attached a spline component to my AI in order to create a unique path for each enemy in the level.
However, I’m not sure how I would write the logic that makes my AI follow the path. Can anyone help me come up with the logic I need? I also would like to know how I could pass my spline point locations to my blackboard.