Traffic AI In Unity | Simple Traffic System

Поделиться
HTML-код

Комментарии • 30

  • @Giddy_FXM
    @Giddy_FXM 2 года назад +1

    Thanks mate. I'm new into game dev. But atleast I have managed to get your channel early. Now am learning things I couldn't afford for free. Thanks again 🙏🙏

    • @navdeeppadda5881
      @navdeeppadda5881 2 года назад

      Hey if u new I recommend a few yt channels
      Brackets
      Speed tutor
      Coding Money
      How to do

    • @Giddy_FXM
      @Giddy_FXM 2 года назад

      @@navdeeppadda5881 I found brackeys instead. Pretty good too. Thanks for all these

    • @mutlugameofhalit
      @mutlugameofhalit 2 месяца назад +1

      @@navdeeppadda5881 *Code Monkey

  • @ROXPLAYZONE
    @ROXPLAYZONE 2 года назад

    great video really helpful

  • @jhonyfir
    @jhonyfir 2 года назад

    You are amazing broo thx for the tutorial👏🔥

  • @Daniel-ed7lt
    @Daniel-ed7lt 2 года назад +10

    The way you have it set up right now, index will equal Waypoints.Length at some point, which will break line 38 and 47 before index is reset to 0.
    To make it work, all you would have to do is replace line 39 with the following:
    if (index + 1 != Waypoints.Length)

    • @jjfgh12
      @jjfgh12 2 года назад +2

      Yes! this is what I needed, kept recieving an IndexOutOfRangeException.

    • @rutherxmen
      @rutherxmen Год назад +2

      THANKYOU SOO MUCH DUDE, IT IS WORKING NOW.

    • @olivier36fr
      @olivier36fr 5 месяцев назад

      THX TO YOU

    • @CentralGameplays
      @CentralGameplays 3 месяца назад

      Nice! Now the character is looping! Thank you!

    • @mutlugameofhalit
      @mutlugameofhalit 2 месяца назад

      where is the problem here?

  • @IronPaul
    @IronPaul 2 года назад +1

    pablos lab, nice choice pablo. There will be more experiments now)

  • @__Rizzler__
    @__Rizzler__ 2 года назад

    Thanks pablo

  • @yousufjamal3553
    @yousufjamal3553 2 года назад +1

    Great video as always

  • @nicolasportu
    @nicolasportu Год назад +2

    Outstanding! How to add a different animation in every path point? Thanks
    How to know the current path point of a nav agent?

  • @generalbleedous3212
    @generalbleedous3212 2 года назад +1

    neat video my friend as always i have a request for you can you please do a star wars themed game mini series where u explain how to assign characters their animations and dialogues i can provide assets if needed tho it shouldnt be a problem thanks my friend as always even if u read it

  • @michaelp8376
    @michaelp8376 Год назад

    This is fantastic info. Thank you!

  • @DreekL1234
    @DreekL1234 2 года назад

    nice!

  • @ZenoFar853
    @ZenoFar853 Год назад

    Can u SIr add crowed system with rotation of character be closer each other and decided the road destination by numbers of characters every road have?

  • @mrCHRONIC128
    @mrCHRONIC128 2 года назад

    'Paolo labs', now that is a better choice for your name as searching for Pablo on youtube used to give me plenty other pablos before it shows me yours

    • @pabloslab
      @pabloslab  2 года назад

      and it shows as the first result too

  • @Serpent.Xenospire
    @Serpent.Xenospire Год назад

    We want more

  • @Injabsful
    @Injabsful Год назад

    why not make it on random point on nav mesh ?

  • @parthacodes5893
    @parthacodes5893 Год назад

    Actually i understood everything in my game esiest part was cofing according the game script the like key 🗝️ sysytem doors movement of character i got issue in the traffic system and car movement car enter exit was also easy also all the other thing in the game story i only coded but some things are hard to understand and do alone and i had doubt i. These two only all other i only did by my own knowledge and logic as because of python i easly implement same thing in c sharp just changing the syntax and stuff i know logic and coding but not these two thing car movemnt and traffic and in my huge game the story is huge and coding for it is also huge including guns firing and all i know it and i only cpde it i just see for animation 😅 so i hv doubt in the two stuff in last was the car movement and traffic system so i saw two vedios and did it all other coding by me and little bit in online if some times doesn't work like i forgot 1 logic for pickup sysytem so i saw some veduos got what was wrong then knew what to do just holding the item untaging it so that no one can see and the second one will places in the second place and by clicking in the button and trigger in come to the hand

  • @ThatLazyGameDev
    @ThatLazyGameDev Год назад

    My NavMesh isn't visible after baked,l

  • @suicidalthoughts1430
    @suicidalthoughts1430 10 месяцев назад

    there is an error in the code that says "indexoutofrangeexception". pls someone help me

    • @mutlugameofhalit
      @mutlugameofhalit 2 месяца назад +1

      it is looks like you are outed of index in a loop.

  • @locuragames1419
    @locuragames1419 Год назад

    giveme you code please

  • @mutlugameofhalit
    @mutlugameofhalit 2 месяца назад +1

    Could ve have scripts and project pls? Ty 🤍