I want to make a monster group-like mechanism for my game Demo, let the monster group walk in square formation like a parade, and at the same time I want the monster AI to attack the player and surround the player intentionally. How should I do them?
You could in theory use Behavior Trees in combination with Environment Queries to set the target for many ai’s.
The target would probably need to be a synced blackboard key to have them cooperate with each other.
2 Likes
This topic has been moved from International to Programming & Scripting: AI.
When posting, please review the categories to ensure your topic is posted in the most relevant space.
Hopefully, this category change will help to get an answer. In the meantime, good luck and happy developing!