Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.

2D Path finding?

Discussion in 'Getting Started' started by TheNumber12, Aug 12, 2015.

  1. TheNumber12


    Jul 28, 2015
    I am not sure if this is the right place to ask this. Anyway is there an easy way to do AI path finding in 2D mode? Is there something like the NavMesh + navigation that is in 3D mode? If not is it possible to flip the NavMesh so that it works on the same axis as 2D mode?
  2. jhocking


    Nov 21, 2009
    A* is generally the best way of doing pathfinding. If you're up to it you could program your own A* implementation based on this tutorial (that's what I would do)

    Otherwise, you could try the existing A* Pathfinding Project:

    here are examples using that in a 2D game: