Amazon Polly audio version of this post
So I’ve been working on the game logic to my little Raccoon Run experiment for a few months now in spurts of an hour here or a minute or two there.
I’ve been racking my brain as to why it was not functioning properly.
— Soft E (@eanbowman) October 12, 2017
I made the mistake of building out most of the logic I thought was needed before really testing incrementally.
I couldn’t figure out why my raccoon game pieces were not moving forward after making their initial move.
It turns out that I was disabling the Nav Mesh Agent component on the raccoon game pieces.
This made it impossible for the game pieces to move after their initial move. Turning the component on again does not work, for whatever reason. It must be something to do with how it’s implemented. Regardless, you need to set isStopped to true instead.
Live and learn!