First you need to select the unit by clicking it, then you can order it to go somewhere either by right-click or control+left-click.
[WP_UnityObject src=”http://www.arongranberg.com/wp-content/uploads/pathfinding/path_example.unity3d” width=”740″ height=”500″ /]

3 comments

  1. Aron Granberg says:

    This pathfinding project is old. Please see the new one (named A* Pathfinding Project).
    You can draw lines using the Unity Line Renderer.

  2. aris says:

    hi and thankyou for this work.. but i have a bit problem…

    i need drawn a path or way in my Scene..

    i use this plugin .. but i can’t get this… <— drawn the path in my scene.. is this posible?

    ty so much…

    i need help plz

Leave a Reply

Your email address will not be published. Required fields are marked *