Utility Designer is a generic tool for the Unity Asset Store that speeds up the process of creating intelligent and dynamic AIs by combining the concept of utility AI and behavior trees.
In a utility AI system, the NPC can have different user-defined states, all of which are scored based on the character's needs and environmental factors.
The scores change over time and the highest scoring state determines the NPC's action.
If a state does not meet all of its preconditions, it will be marked red and will not receive any score.
A behavior tree in the execution tab is used to define these actions. We are currently looking at the evaluation tab, and by switching to the execution tab we can now see the custom-defined behavior of that state.
A behavior tree is very flexible and allows us to easily create any kind of behavior that's needed to execute our states.
Utility Designer has a powerful API that allows the creation of custom nodes for the behavior tree. Various callbacks and properties simplify the process of creating custom behaviors for your specific needs.
Негізгі бет Utility Designer for Unity
Пікірлер: 1