New answers tagged

0

You just precalculate the path like for example : if (Input.GetMouseButtonDown(0)) { navAgent.CalculatePath(point,navAgent.path); /*bool*/ pathComplete = false; } Then out of the box you ask if(pathComplete == false) { if(navAgent.path.status == NavMeshPathStatus.PathComplete || navAgent.hasPath && navAgent.path.status == NavMeshPathStatus....


Top 50 recent answers are included