The AIBrain Graph System
Last updated
Was this helpful?
Last updated
Was this helpful?
The AI Brain Graph editor is a tool used to create Corgi/TopDown Engines AI logic through a visual node editor.
A graph is an asset stored in your project Assets folder. To create one:
Right click anywhere in the Assets folder
Select Create > The Bit Cave > AI Brain Graph
Rename the brain asset
Double click on it to show the editor window
Like the graph, a subgraph is an asset stored in your project Assets folder. To create one:
Right click anywhere in the Assets folder
Select Create > The Bit Cave > AI Brain Graph
Rename the brain asset
Double click on it to show the editor window
To add nodes to the graph (or subgraph) simply right click on any free space and select the desired node.
When you add a graph to a Corgi/TopDown character, the system will parse your nodes and will translate them to AIBrain/AIAction/AIDecision components.
To achieve this, all you have to do is to add one of these components:
AI Brain Generator: this component will generate all needed elements to the character
AI Brain Pluggable: similar to the previous component, but the generation will be at runtime
Please check the page for a list of available nodes.
Please check the and getting stated tutorials for an example on how to use these components.