Within Distance problem

Storm

New member
Hi,

I am new to behavior designer. I read and watched tutorials and failed in the first trial :)

My problem is, in the below tree, I have "within distance" conditional checks if character is in distance with line of sight, if not ask character to seek (with A*).

The point is, it checks the within distance, where it is not, starts the seek, however, during seeking, the within distance condition does not update its status, hence moves to the arrival distance of seek action. What should I do?

I uploaded a video to describe better.

Thanks in advance,

 
Your Within Distance task isn't being reevaluated so when the character is seeking it will no longer update. You can change your conditional abort to the Both type in this case.
 
Top