-
Notifications
You must be signed in to change notification settings - Fork 111
Open
Description
Hi,
Thanks so much for a VERY comprehensive library. It's a work of art. We like it a lot.
i wonder if there's a bug in MemSequence, when it uses the open() method to reset the 'runningChild' index.
consider a MemSequence with 3 actions children.
- action1 starts, return RUNNING for a few ticks
- MemSequence is opened (stored at the open node list)
- action1 ends, return SUCCESS.
- MemSequence is closed
- action2 starts, return RUNNING
- MemSequence is opened
- runningChild is reset to 0!
if thats indeed a bug, i wondered where and when runningChild should be reset? is it a functional decision, based on some other parameters, or should it reset always when it reaches the end of the sequence?
also, what is the use for the openNode list?
thank you for any idea
Lior
Metadata
Metadata
Assignees
Labels
No labels