Hello, I have a hex grid with working pathfinding. It provides an array of hex IDs (Integer) that I use to get the world locations of each hex in the path. I want to move an actor along this path from hex to hex until it reaches the destination. I am able to get it to move, but it skips all the hexes in between the start and the destination and instead just makes a straight beeline to the target.
The first image is an example of what its doing - moving directly to the target, through the trees, skipping the green path.
Image Two is the move event. It moves the actor to the target location.
Image Three is my function that is supposed to loop through all the hexes in the path array and send it to each. It acknowledges each correct hex in the path (tested with a Print String listing vectors), but as far as actually moving the sphere… it just goes straight to the last hex in the list.
Any help greatly appreciated.