I have a point graph in my scene that I load dynamically and I have an animal that is supposed to flee.
I’m using this code: Animal run away
When my player gets close to the animal, I get one the Debug.Log from A*:
Path Completed : Computation Time 5.00 ms Searched Nodes 2 Path Length 2 Path Number 1 (unique id)
But the animal doesn’t move. If I try to check the status of the path I get “NotCalculated” and if I try to use any member of that path variable I get a null object error.
The animal has a RichIA and Seeker component attached.
Any idea what could be the problem?