Hi Aron,
thanks again for your RTS example. I have changed it a bit and made it work with an animated character…
In the script I’m asking for
if (reachedDestination || attackTarget) mAnimator.SetBool(“IsMoving”, false);
else mAnimator.SetBool(“IsMoving”, true);
That leads to the desired animations when moving by mouseclick and sometimes when AI is moving things. But not always, but see yourself:
https://1drv.ms/u/s!AoUdVogiASI_it135UiwxhITvRTjwQ
The few guys are leading to 2FPS quickly :-/
Is there a way to identify if a unit is onMove or has really stopped? Cause reachedDestination is not telling that if attacks come in between?!