
Otherwise, if velocity was non zero at time resetMoveTarget is called the agent would continue to move indefinitely at that velocity (a straight line) which was not the intended behaviour. As discussed in https://groups.google.com/forum/#!topic/recastnavigation/QoLNGz5o6e8