In my test tree, I have an Idle task which runs until an event is received, which then runs the Left and Right actions in sequence (with a lower priority conditional abort):
In addition to this functionality, how would I be able to restart the Left/Right action sequence from the beginning when the event is received? So the process would look like this:
In addition to this functionality, how would I be able to restart the Left/Right action sequence from the beginning when the event is received? So the process would look like this:
- The Behavior Tree is initialised, and the Idle task runs.
- Event is received, and the Left Action, followed by the Right Action runs.
- Before the Right Action has finished, the Event is received again.
- The sequence would then go back to the beginning and restart playing the Left Action.
- Assuming no more Events are received, the tree would then play Idle.