- Home /
Question by
MasterLG · Mar 01, 2017 at 10:26 PM ·
navmeshnavmeshagentnavigation
NavMeshAgent - get pushed out of the way by friends, but not enemies?
I'm tinkering around with NavMesh stuff, but I was looking for something inbuilt before I try throwing something together myself.
Is there a way to make NavMeshAgents able to be pushed around by agents from one group (friendly), but not others (neutral/enemy)?
The straightforward idea would be that priorirty field that determines who avoids who, but that doesn't account for adversarial and friendly interactions as much as "I'm bigger than you" interactions.
For those of you who may have played, Starcraft 2 does this. You can push units you own or are controlled by allied players around with your units, but not enemy units.
Comment