0
\$\begingroup\$

I don't know of this is possible or not. I was following Unity - The NavMesh Agent tutorial. What I'm thinking on how to make the agent take's different path ? example, if i have two agents, how to make both of them taking different paths ?

\$\endgroup\$
3
  • \$\begingroup\$ If the start point and destination point are the same, they will compute the same shorter path. You have to add an extra intermediate point to make them take different paths. \$\endgroup\$ – Hellium Aug 20 '17 at 14:39
  • \$\begingroup\$ Could you please give me an example ? \$\endgroup\$ – user43474 Aug 20 '17 at 15:05
  • \$\begingroup\$ It's not really possible, supposing your path is composed of 3 points (start, intermediate and final point), you just have to determine the position of the intermediate so that it is on the 1st path or the other. \$\endgroup\$ – Hellium Aug 20 '17 at 18:34

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.