Download

Roomscale and ai behavior tree issues.

So i am having an issue with the aimoveto node in behaviour trees. Because the player can be anywhere in the roomscale space i can’t send the ai to the pawns position since that is the center of roomscale. I CAN send the ai to the location of the player’s capsule though.

The issue i have is if i move from that location the ai doesnt update its move to location along with me. I update the new location every tick but the ai has to make it to the intitial location before it will chang direction.

How can i have the ai update its movement direction on the fly?