A* Pathfinding (E02: node grid)

Sdílet
Vložit
  • čas přidán 17. 12. 2014
  • Welcome to the second part in a series on pathfinding in Unity. In this episode we look at how to create the grid of nodes required to begin using the A* search algorithm -
    (explained in detail in part one: • A* Pathfinding (E01: a... )
    Source code: github.com/SebLague/Pathfinding
    If you'd like to support these videos, you can do so with a recurring pledge on Patreon, or a one-time donation through PayPal. / sebastianlague
    www.paypal.me/SebastianLague

Komentáře • 549

  • @danny3man
    @danny3man Před 4 lety +48

    Can you enable the subtitles ? some of us are deaf.Thanks.

  • @davidpike5959
    @davidpike5959 Před 6 lety +86

    wow, copying this guy makes me feel clever :O

  • @leon4695
    @leon4695 Před 3 lety

    Can't find the path in real life, don't worry just create it on a computer. Can't do that Don't worry just rip the footage and put it on youtube make lots of additional pylons

  • @synvian8212
    @synvian8212 Před 8 lety +307

    I could listen to this guys voice all day, strangely relaxing . . .

  • @garthus2031
    @garthus2031 Před 4 lety

    What is Node?

  • @TheSkepticSkwerl
    @TheSkepticSkwerl Před 2 lety

    Using c# on a Mac confuses my brain. 🤣

  • @andrewsalvatore9412
    @andrewsalvatore9412 Před 3 lety

    how to show video subtitles?

  • @yukernzhen
    @yukernzhen Před 6 lety +10

    I have no idea what this is or why I am here

  • @ianlehman8342
    @ianlehman8342 Před 4 lety +2

    Node graph out of date. Rebuilding...

  • @catanator123654
    @catanator123654 Před 7 lety +48

    So I got all the code right but it just wouldn't work and after a half hour of checking over the code turns out I misspelled "position" 😑

  • @Garbaz
    @Garbaz Před 9 lety +285

    17:00

  • @mr_donutz
    @mr_donutz Před 4 lety +36

    just finished watching this tutorial, now gotta do it 99 more times for me to get it

  • @Ensiferum888
    @Ensiferum888 Před 9 lety

    Amazing tutorial, I'm using Aron Granberg's pathfinding since I couldn't implement it myself. Your explainations are extremely easy to understand. Great work!

  • @bejoscha
    @bejoscha Před 4 lety +8

    Lovely pace for learning stuff - including mistakes, which are a natural part of the coding experience. I’m glad you are not editing them out.

  • @naipeadicto
    @naipeadicto Před 9 lety

    Thanks!!!!!!! Incredible explanation! I was struggling setting the grid for my project, but I followed along and it turned out really simple and easy. now to part 3...

  • @PatrickWilliamsphd
    @PatrickWilliamsphd Před 6 lety +2

    I have watched this and Part 1 and am super excited to try this stuff out. I'll be able to quickly create some fun games for my kids with this AI. Keep up the good work friend.

  • @damien5266
    @damien5266 Před 8 lety +46

    You're an amazing programmer. Thanks for the videos.

  • @FranciscoAmorim
    @FranciscoAmorim Před 7 lety +65

    19:30

  • @MrSquishedsquashed
    @MrSquishedsquashed Před 9 lety

    Really great tutorial!

  • @JakeDownsWuzHere
    @JakeDownsWuzHere Před 8 lety +1

    worked perfectly for me. really enjoying this series. :D thanks for sharing it