Hi,
I'm wondering if there's a way to get a "printout" of a behavior tree's structure. Ideally something like a simple text hierarchy that lists the names of each task and their parent-child relationships.
For example, something like:
Root (Sequence)
├── CheckHealth (> 20%)
├── Parallel
│ ├── Attack
│ └── LookAt
I'm currently writing these by hand to use in documentation and for discussions (e.g. sharing structure with ChatGPT for AI planning help), but it's getting a bit tedious. Is there any built-in feature, debug tool, or third-party utility that can export a tree's structure like this? Or would I need to script something custom?
Thanks in advance!
I'm wondering if there's a way to get a "printout" of a behavior tree's structure. Ideally something like a simple text hierarchy that lists the names of each task and their parent-child relationships.
For example, something like:
Root (Sequence)
├── CheckHealth (> 20%)
├── Parallel
│ ├── Attack
│ └── LookAt
I'm currently writing these by hand to use in documentation and for discussions (e.g. sharing structure with ChatGPT for AI planning help), but it's getting a bit tedious. Is there any built-in feature, debug tool, or third-party utility that can export a tree's structure like this? Or would I need to script something custom?
Thanks in advance!