Hi There,
When ever I click away after attacking the enemy, my Character does not move.
I have put liberal Debug Messages in and to me it all looks as if the right functions are being called. I can happily run about as normal prior to clicking on my enemy. As soon as I Attack my enemy I can not click away. I have checked the git hub code and it all looks good to me. Not sure where in code so have posted my debug messges and the Mover.cs file.
It looks like you’re calling navMeshAgent.isStopped in Stop(), but you’re not starting it again when you MoveTo()…
Add
navMeshAgent.isStopped=false;
to your MoveTo() method, and things should start moving again.
Thank you Brian
This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.