behaviourtree.lua
behaviourtree.lua copied to clipboard
a simple behaviour tree library for lua ported from javascript
One feature that a lot of BT implementations have is the ability to store key-value information against the entire tree or a single node See this blog for inspiration: https://www.gamasutra.com/blogs/ChrisSimpson/20140717/221339/Behavior_trees_for_AI_How_they_work.php
I'd like to provide arguments to an instance of a task. Currently, I do that by creating an entire new node type: ```lua local function create_action_task(params) return BehaviourTree.Task:new({ run =...
Am I correct in thinking that if I use the name feature of a Task and then use that string name in a BT, if I have 2+ BT's that...
This is my draft proposal to fix https://github.com/tanema/behaviourtree.lua/issues/8. What I changed? - instead of creating a new instance of a node that is then added to the registry and used...
**Summary** This is an alternate solution for returning unique instances from the registry. - Related Issue: #8 - Related PR: https://github.com/tanema/behaviourtree.lua/pull/12 ## Technical Insight See related issue. ## Checklist -...
Hi just wanted to showoff a fork of this, that I actually made into a separate repo since the scale of changes is out there. I heavily altered the API...