Hi there,
I guess everyone uses Auto Breaking option for Navmesh because it keeps rotating after the character reaches the target.
AutoBreaking doesn’t work as I expected for me. It stops once but after one or two seconds, it start walking again and rotates on the goal.
What I did is this:
- Open new scene
- put plane at (0, 0, 0)
- put AIThirdPersonController at (0, 0, 0)
- put empty GameObject at (4, 1.5, 0)
- Assign empty GameObject to Target for AICharacterContol of AIThirdPersonController
- Configure NavMeshAgent as follow:
Radius 0.5
Speed 0.7
Stopping Distance: 1.5
Auto Breaking: checked - Open navigation window and bake plane object as “Navigation Static” checked
- Run
Then the character walks towards object and stops. And few seconds later, charater starts shaking and walks again then starts spinning at the goal.
Though I thought I had to disable the object when the character stops, Unity’s sample project doesn’t look like doing like that.
How can I stop the character and stop the rotation?
thanks,
bboydaisuke