Boxing Game Update 3 (9/01/24)


For this session I tried to add a behavior tree with a C++ coded AI Controller and tasks for my enemy.

Enemy Class

Used to set Behaviour Tree in blueprint
This will get the Blueprint Blackboard and then sets the “StartLocation” in it to the actor’s location on begin play

AI Controller

Overriding the “OnPossess” function to get the Blueprint Blackboard on possession

Random movement Task

Here I casted to the AI Controller and get controlled pawn, then I set the “StartLoc” variable so I can use it later and copy my code from the enemy into the task.

Leave a Reply

Your email address will not be published.