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.
I finally figured out that you can't simply disable the Navy Mesh Agent in #Unity3D you have to set isStopped to true. ? pic.twitter.com/EpkO5Xcdnz
— 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.
Oops!
Live and learn!