Search Unity

  1. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  2. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice

Tile based AStar implementation

Discussion in 'Assets and Asset Store' started by Pedro Sousa, Jun 13, 2011.

  1. Pedro Sousa

    Pedro Sousa

    Joined:
    Feb 8, 2009
    Posts:
    24
  2. atsd

    atsd

    Joined:
    Feb 23, 2010
    Posts:
    73
    thanks, i dont need that but it looks like usefull
     
  3. flim

    flim

    Joined:
    Mar 22, 2008
    Posts:
    326
    Thanks for share, how to use it?
     
  4. Pedro Sousa

    Pedro Sousa

    Joined:
    Feb 8, 2009
    Posts:
    24
    I did a scene 01 with a demo but basically you need to implement INode interface in your tile create an instance of AStar with a grid of INodes and use the method search of AStar who will return to you and List of INodes.

    Cheers
     
  5. flim

    flim

    Joined:
    Mar 22, 2008
    Posts:
    326
    :eek: