Hi
Calling SetDestination with the agent’s current position seems to work just fine.
I tried with this code:
void Update () {
ai.SetDestination(ai.position, Quaternion.Euler(0, Time.time * 60, 0) * Vector3.forward);
}
and that makes the agent slowly rotate around, just like in your video.
This works regardless of what locked
is set to. But isStopped
has to be false, as otherwise the agent will ignore any changes to its destination.
Does it not work for you to have locked=true, isStopped = false
?