The AIBase.Velocity
property does not get updated when AIBase.canMove
is set to false. This is a bug IMO, as this value should be updated correctly for read purposes even when agent cannot move, as thats the purpose, its velocity is reduced to 0 this way.
As now if we need to disable agent movement, the velocity still shows some value as if agent was moving, resulting in out walk animations playing.