Closed DarkAngelZT closed 4 months ago
@DarkAngelZT thank you for raising this - a few things on this:
Generally an okay pull request - one more thing: "SimpleParallel" suggests that there could be different types of parallel, however, the architecture of Beehave V2 does not allow for other types (e.g. it assumes that always one node at a time is in RUNNING
state). Could we perhaps just call it Parallel
?
@bitbrain Thanks for reply. Here is the official explaination of simple parallel node on epic website: https://dev.epicgames.com/documentation/en-us/unreal-engine/behavior-tree-in-unreal-engine---overview#concurrentbehaviors So basically this node has concurrency features, but it still act like a regular composite node. Which makes it different from real parallel node. As you can see its state is only controlled by first child. So I think if we simply call it parallel woud cause some misunderstanding of its feature. I will add icon and unit test later. This node is currently running in my project and I've wrote a python version for that few years ago for another engine, ant it working smoothly till now in some comercial projects, quality ensured ;)
@bitbrain Unit test and docs are done, debugger screen shot has updated above. Please review
@DarkAngelZT the icon does not seem to display correctly in the debugger?
@DarkAngelZT the icon does not seem to display correctly in the debugger?
That's the same code in my current project, which doesn't have icon set. here's new one:
Description
Added a composite node called simple parallel. It does the same thing like the one in Unreal Engine. This node allows you to execute multiple things at the same time, e.g moving while shooting. Nested simple parallel is also supported but not suggested
Addressed issues
N/A
Screen shots
Here's debug view of my own behavior tree in Beehave debugger: