Using unity's A* pathfinding plugin but the AI doesn't move or moves in a wrong direction
<p>I'm learning to use the <a href="http://arongranberg.com/astar/" rel="nofollow noreferrer">A* pathfinding plugin</a>. I've successfully made a demo on an X/Z plane. As the project I'm working on is actually a 2D game, I want to use the plugin on the X/Y plane. However, while it works perfectly on an X/Z plane, it doesn't work well on the X/Y plane.</p>

<p><strong>All the scripts used,<code>AstarPath.cs</code>,<code>Seeker.cs</code>,<code>AIPath.cs</code>, are the original scripts from the <code>A* pathfinding project</code> and the version is <code>v3.7</code>.</strong></p>

<p>Then I followed these <a href="http://hobblygobbly.tumblr.com/post/93960257057/how-to-setup-the-a-pathfinding-project-in-a-2d" rel="nofollow noreferrer">instructions</a>.</p>

<p>When I click <code>Run</code> to run the game, the AI does calculate a correct path:
<a href="https://i.stack.imgur.com/NfEnN.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/NfEnN.png" alt="enter image description here"></a></p>

<p>but then the AI moves in the wrong direction:</p>

<p><a href="https://i.stack.imgur.com/wJgUN.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/wJgUN.png" alt="enter image description here"></a></p>

<p>When it moves, it also keeps calculating its path. What should I change to fix the problem?</p>