Game Development Reference
In-Depth Information
Separation
To keep our agent apart from a group of other agents, we can use the
ForceToSeparate
function.
local forceToSeparate =
agent:forceToSeparate(minDistance, maxAngle, agents);