-
-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Description
Hi,
I was wondering if with the current API it is possible to implement a parallel node.
I guess with a parallel you will end up with multiple active leaf nodes, end thus to signal fail/success the tree would need to accept some kind of identifier to mark the specific node that finished underneath the parallel.
Node.parallel([:a, :b, :c])
|> BehaviorTree.start()
|> BehaviorTree.succeed(:b)
Currently the tree only accepts BehaviorTree.succeed/1 or BehaviorTree.fail/1.
Is there another way to achieve the parallel node with the current API ?
Metadata
Metadata
Assignees
Labels
No labels