Search Unity

Pathfinding using Unity 4.3 2D features

Discussion in '2D' started by Yatagarasu ESNE, Nov 30, 2013.

  1. Yatagarasu ESNE

    Yatagarasu ESNE

    Joined:
    Sep 27, 2013
    Posts:
    1
    Hi! I'm making a 2D top-down game (like old Pokemon games) using Unity 4.3 new features and I'm trying to make arongranberg pathfinding project work unsuccessfully

    I made a test project to work on it, so far I have created a grid graph like this
    http://oi40.tinypic.com/23vjfie.jpg

    I added to my Enemy sprite the Seeker component, AIPath script, Character controller component and the Astar AI script that arongranberg has in his get started section http://www.arongranberg.com/astar/docs/getstarted.php
    http://oi39.tinypic.com/9ucavb.jpg

    But my Enemy (the red square) falls from the scenario, his Y position goes down and down with negative values, it never ends :(

    So please if somebody can help me to make it work I would be eternally grateful :)
     
  2. paprikash-bg

    paprikash-bg

    Joined:
    Nov 30, 2013
    Posts:
    2
    Hi :) I am new to Unity and i am trying to make a game similar to the old Nuts Milk for NES.

    If someone can provide a demo or tutorial for AI pathfinding with the new 2D features it is going to be AWESOME !!!
     
  3. paprikash-bg

    paprikash-bg

    Joined:
    Nov 30, 2013
    Posts:
    2