Beehave is a powerful addon for Godot Engine that enables you to create robust AI systems using behavior trees. With Beehave, you can easily design complex NPC behaviors, build challenging boss battles, and create other advanced setups with ease.
Using behavior trees, Beehave makes it simple to create highly adaptive AI that responds to changes in the game world and overcomes unexpected obstacles. Whether you are a beginner or an experienced developer, Beehave is the perfect tool to take your game AI to the next level.
✨ Development of Beehave 3.0 has started. Read https://github.com/bitbrain/beehave/discussions/285 for more details.
Compose behavior trees in your scene and attach them to any node of your chosing.
A dedicated debug view inside the Godot editor allows you to better understand what the behavior is doing under the hood.
Maintaining high framerate is important in games. Investigate performance issues by using the custom monitor available inside the Godot editor.
In order to avoid bugs creeping into the codebase, every feature is covered by unit tests.
addons/beehave folder into your
/addons folder within the Godot project
Project > Project Settings > Plugins
script_templates into your project folder.
To better understand what branch to choose from for which Godot version, please refer to this table:
Refer to this guide for more details behind this structure.
Behavior trees are a modular way to build AI logic for your game. For simple AI, behavior trees are definitely overkill, however, for more complex AI interactions, behavior trees can help you to better manage changes and re-use logic across all NPCs.
bitbrain recorded this tutorial to show in more depth how to use this addon: