Questions tagged [navagent]
4 questions
2
votes
0 answers
Questions on array and targeting with NavAgent
I've been trying to work on a targeting system with a highest property value for all players within a game. Right now my code looks like this:
PlayerManager whoIsHighest = null;
var AllPlayers = FindObjectsOfType();
…

WizardLew
- 23
- 2
0
votes
0 answers
Unity: Nav agent not attached to character
I have a problem with my character being animated but not moving with the nav agent. I'm using root motion.
please find below image for ref.

ali mahdi
- 17
- 5
0
votes
0 answers
Targeting more than one person with a property (NAV AGENT)
I've been trying to work on a targeting system with a highest property value for all players within a game. Right now my code looks like this:
PlayerManager whoIsHighest = null;
var AllPlayers = FindObjectsOfType();
float…

WizardLew
- 23
- 2
0
votes
1 answer
Unity3D Duplicated NavMesh Agents not moving
In my scene, I have an agent which moves to a specific destination. As soon I try to duplicate it in order to create a second agent the resulting behavior is quite strange: the agents get transported to opposite corners of the map and stop moving.…

Claus
- 5,662
- 10
- 77
- 118