Is it possible to ise multiple agents (sizes I mean) while using detour crowd AI controller ?
I recently tried to use 2 different agents (both properly defined in navmesh
settings in editor)
They are working flawlessly with usual AIController
but only the biggest agent can move with detour
Any help please ?
*** Edit: ***
Inspecting the source code it seems that the NavMeshData
is cached to MyNavData
for crowd manager
that allows to make batch queries which makes a perfect sense for optimization!
However this design makes kittens sad when we need to use some outcast units which are bigger than the regular units (specifically my case)
I can have 90% of all my agents to operate on 1 navmeshdata
- because their radius sizes are not that different from each other so they can use the bigger radius (size) of them, however the rest 10% are much bigger agents - that makes it problematic to scale the little agents to their size to be used with detour.
Question is it possible to do something to make CrowdManager
be aware of both NavMeshes
? (I am not afraid of C++).
The straight forward approach would be to let all the agents to use the NavData
of the biggest Agents, while path find them on the closest NavData to their size.
Any help would be highly appreciated!