Texture

This demo shows how the A* script can generate a grid from a texture, and then use it for navigation.
Black areas are walls and the green and red areas are walkable.

2 Responses to Texture

  1. Göran says:

    Bra jobbat!

    There’s an issue with blocking his way by plonking down blocks in front of his path, has this been fixed? Or is there a way to deal with it in some way? Like replotting his path every n milliseconds? Just starting out with Unity btw, this seems a great tool!

  2. Admin says:

    Hi Göran (wow, från Sverige, det var ovanligt)

    There is no built in function for that yet, you can however implement you own just recalculating the path every 0.5 – 1 seconds.
    I will add that to my list of things to add in the next version.

    -Aron

Leave a Reply

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

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>