Reply To: How to access BT inside BT graph value?

Forums 💬 NodeCanvas 🗨️ General Discussion How to access BT inside BT graph value? Reply To: How to access BT inside BT graph value?

#13037
Gavalakis
Keymaster

    Hello,

    The difference in BT (in comparison to FSM), is that in a BT multiple nodes may run simultaneously due to a Parallel composite and it has no definite states like an FSM has.

    You could still however get a BT node from code. I would suggest tagging the nodes you want to get in code with a “tag” in its inspector and then use the graph.GetNodeWithTag<T>(string tag), to get tagged node.

    Let me know if this works for your use case.