Establish groups for agents and relationships between the groups.
Establish groups for agents and relationships between the groups.
The IGroupSystem allows you to logically group agents together. Agents can exists in one or more groups. Groups can have one or more sub groups. You can also build relationships between groups.
Assets/Ride/Examples/Groups/ExampleGroups.unity
Utilize the IGroupSystem API for your scene and its agents by adding the ExampleGroups script.
Add this script to an object in your scene to enable grouping of agents. Modify as needed to suit your own needs.
Referenced by ExampleGroups script for group definitions.