Alternative to using the mover

Just out of curiosity is there any downside to just getting a reference to the nav mesh and adding the line navMeshAgent.destination = guardPosition; under the fighter.Cancel() line in the Update() method? I tried it for the challenge and it seemed to work as intended.

That may possibly work for now, but that may conflict when we add in patrol points (where we’ll want the character to return to his last patrol point).

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.

Privacy & Terms