Question by
williampigmeu · Jul 06, 2017 at 11:49 PM ·
rotatenavmeshagentmove
NavMesh, wait for rotation before moving
In Warcraft 3/Dota 2, the characters only begin to move after they have finished their rotation and are looking towards their next path position. How can I do this with the Unity's NavMeshAgent? I've tried stopping the agent ( nav.isStopped = true;
), then rotating it with Quaternion.Slerp
and resuming its movement again, but it doesn't work.
Comment