Hello.
I seem to have stumbled into something I don't understand.
If I add a pathnode to an enemy, that enemy should use other pathnodes to get to that pathnode right?
That's not what is happening on my screen.
Here you see I clearly added the pathnodes to my level. The nodes furthest to the right are the end nodes.
Here you see what's happening in game. He's facing a wall. The fact that he tries to go through it, and the fact that the other enemies found their node implies that their end node is already added, but he doesn't follow the not-added nodes.
Here is how I'm adding the nodes. (Though it shouldn't really matter).
for(int i=1;i<=3;i++)AddEnemyPatrolNode("RaceGrunt_"+i, "PathNodeEnd_"+i, 0.0f, "");
I have messed with the animation multiplier, and the walking animation, and the walk speed of the grunt. All of those seem to work fine, and I don't think those are the cause.
Has anybody experienced the same thing?
Trying is the first step to success.