UnityBehaviourTreeEditor icon indicating copy to clipboard operation
UnityBehaviourTreeEditor copied to clipboard

Dont restart nodes that already returned success

Open grzes opened this issue 6 months ago • 0 comments

I made a fix to the sequence node so it run's through all of it's child nodes once.

I needed a sequence with: [Condition] [Wait] [LongAction]

Where the long action should return running over several Update's of the tree, but on the next update the Wait node would restart and wait again.

In the example random walk you can see the problem when you insert another Wait node between random position and move to position.

grzes avatar Aug 21 '24 15:08 grzes