Hi there,
I am trying to get my navMeshAgent to move but not succeeding.
//in update
agent.setDestination(pos);
Is not doing the trick. My agent does not move at all. What’s going on?
Hi there,
I am trying to get my navMeshAgent to move but not succeeding.
//in update
agent.setDestination(pos);
Is not doing the trick. My agent does not move at all. What’s going on?
agent.SetDestination
Spelling is really important in programming.
edit.
So I have just added a value to the transform position and it worked!
Now to just get the tap pos working.
Cheers!
Ps. I had the spelling correct. It was the position I called. I believe it added vale to y and thus was impossible to reach. Not sure, but it did not fire.