• Register
Post news Report RSS DevBlog 10 - Making A DogFight Behavior Tree

Using my c++ behavior tree system I created a dogfighting behavior tree!

Posted by on

Using the behavior tree system I created, I have created an AI brain that lets fighter ships dog fight one another. I've created several sub trees. there are subtrees to evade. subtrees to dogfight. I ran into some performance issues during rapid state transitions in the behavior tree. I was able to mitigate most of this by collapsing the complex logic into single nodes in the tree, rather than defining the entire logic based on tree structure.



below: a large number of ai ships dog fighting (debug lines on)
sa vid10 bigfight

below: an example of a tree, showing an evade tree
sa vid10 behaviortree

Post comment Comments
KodingNights
KodingNights - - 2 comments

Impressive! I think I will steal some of these ideas for my game. :-)

Reply Good karma Bad karma+1 vote
Post a comment

Your comment will be anonymous unless you join the community. Or sign in with your social account: