top of page

Blackboard and Behavior Trees

  • jacoblince8
  • Oct 21, 2022
  • 1 min read

Recently I have been learning more about AI programing in Unreal Engine. This time I'll be using the Decision tree system to create a new and improved AI character. I copied and pasted the blueprint and animation Blueprint for the Creeper enemy for this update so it can be usable in the Otherworld project.



Per the quick start guide I removed everything from the event grid and made an AI controller and blackboard for AI variables. Then I got to work on the behavior tree and task programing.



Here's what I have so far:


Blackboard


Behavior tree


Chasing Player Task


Patrolling Task


In the behavior tree tasks, there is a function I made called "Update Walk Speed" which the turns the character movement into a variable that can be be easily changed depending on the task at hand:

This would change the max walk speed depending on whether the enemy is just patrolling or going after the player character. I should have it up and running by next week. I'm really looking forward to showing this to you but for now have a great weekend.





Recent Posts

See All
Cinematic Done

I have finally finished my cinematic. I found a couple videos that helped me figure out a few problems I have been having. One video was...

 
 
 
Sequencer Glitch

I'm 90% done with the sequencer tutorial but I ran into a bit of a snag. I'm trying to shake up the cinematography for the scene and do...

 
 
 
Returning to UE Sequencer

I decided to come back to Sequencer this week since I've been so overwhelmed lately. I have to say that the cinematic tools in UE are...

 
 
 

Comments


bottom of page