Game Development Reference
In-Depth Information
Cohesion
To keep our agent together with a group of other agents, we can calculate a steering force
for combining using the ForceToCombine function.
local forceToCombine =
agent:ForceToCombine(maxDistance, maxAngle, agents);
Search WWH ::




Custom Search