2D: 4directional movement and pathfinding only

Is it possible to use Astar pathfinding to create a path and movement that is strictly in 4 directions? I have been trying for awhile now but cant figure anything out.


Yes, you can set the grid graph -> neighbours field to Four and use the AILerp script which follows the path exactly instead of loosely.