Hi,
I encoutered what I think may be a bug when Stopping a behaviour tree. When I stopped it, it was in a long running sequence of actions under a StepIterator node.
When I started it again later, it resumed at the same node i stopped it at, when i expected the tree to resume from the beginning.
Putting this code into StepIterator, fixed the issue.
1
2
3
4
5
6
/// BUG FIX: When calling Stop & Play on a graph, tree resumed, instead of restarting
I’m very sorry for the late reply, but I was ill and in bed for the last couple of days.
Thanks a lot for the report and fix. Yes that is a fine fix and I will add it in the next update as well.
I will also double check the rest of the nodes for such resetting.
Thanks again!
Join us on Discord: https://discord.gg/97q2Rjh
Author
Posts
Viewing 2 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic.
Login
Register
By registering on this website you agree to our Privacy Policy.