Quantcast
Viewing all articles
Browse latest Browse all 60

Answer by Narv

You could check the remaining distance to the path end using: http://docs.unity3d.com/Documentation/ScriptReference/NavMeshAgent-remainingDistance.html and then if it is within a certain threshold from the end you can start scaling the speed down or whatever you want with it.

Viewing all articles
Browse latest Browse all 60

Trending Articles