From what I can see on the video your problem is that the first task of the selector you’re showing there (the one with Vision
service) is succeeding it’s execution, and since it’s parent is a selector it means it just finishes, not executing next child (by design). You just need to structure your BT differently. Is the first task is “state selection” and it always succeeds consider using a sequence, and have the other child be a selector with “idle” and “aggressive” branches.
BTW, a hint here: place the higher priority branch (“aggressive” I presume) on the left, and have it’s condition decorator set to Abort both
. And leave idle as a condition-less fallback. It’s more robust this way
Let me know if there’s anything unclear.
Cheers,
–mieszko