Made one PC and one NPC AgentType from the Navigation tab but only the PC agentType is working.
For everry the NPCs on SetDestination, it always callback the warning
Failed to create agent because it is not close enough to the NavMesh
And then the following error :
"SetDestination" can only be called on an active agent that has been placed on a NavMesh.
Now in runtime if I switch the NPCs agent type to PC it works a charm.
Switch back to NPC, error again.
Very well explaned here as well :
What I am trying to achieve is :
- PC height : 0.4m
- NPC height : 1.8m
PC can go below every asset such as table.
NPC cannot.
Not sure that is the right way of doing it?
Agent Type was looking good from the settings but doesn’t work.
Any tips or advise please?