r/unity_tutorials • • May 29 '21

Create Behaviour Trees using UI Builder and Scriptable Objects

https://youtu.be/nKpM98I7PeM
55 Upvotes

3 comments sorted by

3

u/AriSteinGames May 29 '21

The whole editor UI that you build here is pretty cool, but the video skips critical steps that someone would need to usefully implement this in their game. Specifically, you did not implement any ActionNodes that depend on the state of the game world. It would have been far more useful to implement some simple enemy behaviors. Something like running toward the player until they're in attack range, then attacking.

2

u/the_kiwicoder May 29 '21

Agreed lol. There is still much more to implement here, other than debug logging. But wanted to introduce this as a foundation. Hoping to get more in-depth with behaviour tree implementation going forward. Thanks for the feedback, it’s always appreciated :)

2

u/Canamla May 30 '21

I've been basing my AI stuff off of Unity's Pluggable AI tutorial, but I'm very interested in this. To have a visual editor would be incredibly helpful!