Minor pathing fix
This commit is contained in:
parent
ed4a29e04c
commit
0a866b7574
1 changed files with 1 additions and 1 deletions
|
|
@ -13,7 +13,7 @@ public class Patron : MonoBehaviour {
|
|||
void Awake() {
|
||||
nva = GetComponent<NavMeshAgent>();
|
||||
nva.updateRotation = false;
|
||||
nva.SetDestination(destinations[0].transform.position);
|
||||
nva.SetDestination(destinations[currentDestIndex].transform.position);
|
||||
}
|
||||
|
||||
public void NextDest() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue