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)
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 🙏🙏
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
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
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)
Yes! this is what I needed, kept recieving an IndexOutOfRangeException.
THANKYOU SOO MUCH DUDE, IT IS WORKING NOW.
THX TO YOU
Nice! Now the character is looping! Thank you!
where is the problem here?
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 🙏🙏
Hey if u new I recommend a few yt channels
Brackets
Speed tutor
Coding Money
How to do
@@navdeeppadda5881 I found brackeys instead. Pretty good too. Thanks for all these
@@navdeeppadda5881 *Code Monkey
pablos lab, nice choice pablo. There will be more experiments now)
Outstanding! How to add a different animation in every path point? Thanks
How to know the current path point of a nav agent?
Great video as always
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?
You are amazing broo thx for the tutorial👏🔥
great video really helpful
This is fantastic info. Thank you!
Thanks pablo
can someone give me a working copy of the code? I can't get mine to work.
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
'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
and it shows as the first result too
why not make it on random point on nav mesh ?
My NavMesh isn't visible after baked,l
Could ve have scripts and project pls? Ty 🤍
We want more
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
nice!
giveme you code please