Monday, June 17, 2013

Reworking of manager

I used to have a function which would call separate behavior trees, each of which would have a callback function to call the next event. This grew more complicated with executing actions in parallel and replanning, so I've switched it to one master behavior tree which controls each smaller interaction (themselves groups of nodes). The new tree is a sequence of non-conflicting parallel sequences of interactions. For replanning, this new tree is cleared, remade and then restarted, all within the behavior event/tree framework.

No comments:

Post a Comment