Beehave
https://gyazo.com/f807e2d0986d7f8b0b59a76d37cbacb5
Github: https://github.com/bitbrain/beehave
Behaviour trees are a modular way to build AI logic for your game. For simple AI, behaviour trees are definitely overkill, however, for more complex AI interactions, behaviour trees can help you to better manage changes and re-use logic across all NPCs.
Godot Asset Lib: https://godotengine.org/asset-library/asset/1349
Godot Engine向け Addon
Godot で Behaviour Treesを扱えるようにする
AIの実装等に使える
開発者がGodot 4.0対応も頑張っているっぽい
https://www.youtube.com/watch?v=n0gVEA1dyPQ
Godot 3.5での Beehave チュートリアル動画
ゴブリンが木に近づいて、伐採して、運ぶ Action を組み立てるサンプル実装の紹介
Condition を組み立てて、伐採置き場がいっぱいの場合は動かないように条件チェックをできる