Skip to content

lcremer/Unity_AI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#AI Behavior Tree Framework

NOTE: this is still very much a Prototype|Proof of Concept

Create Behavior Trees in C#, without having to work with an editor. Preview behavior tree in realtime. I wanted something that would let me quickly define and create behavior tree nodes how I wanted, something fairly lightweight. This framework was an attempt to tackle that.

Included is a demo scene BehaviorTest. In the scene is a BehaviorTest prefab. The prefab has a BehaviorTest (Forgive my naming!) component that gives and example of how to use the framework. Hitting play will allow you to hit the "Open Behavior Tree Preview" button on the component without errors.

Note: the behavior tree is executed so quickly its best to pause and tick forward to see how the nodes are iterated through.

Pending updates: Preview without having to hit play. Tree Execution Speed Adjustment (Tree nodes are acted on so quickly it may be hard to debug) Collapsable Branches Node Logging Utility Curve Selectors

Examples of the Tree Previewer in Unity 5: https://github.com/lcremer/Unity_AI/blob/master/Misc/BehaviorTree1.PNG https://github.com/lcremer/Unity_AI/blob/master/Misc/BehaviorTree2.PNG

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published