Roblox's Pathfinding Sucks...
HTML-код
- Опубликовано: 10 дек 2021
- hey guys today in this #ROBLOX video we're gonna be #CODING but you don't really see me doing it. But I will show off this #TECHNOLOGY if you can call it that. In case you haven't caught on I'm using #TAGS but who reads descriptions anyways?
Roblox NPCs are becoming smart! - Игры
Oh my god I relate so much to this video. The roblox pathfinding system actually annoys me so goddamn much. When it comes to making NPCS chase you they act so stupid or repeatedly stutter
Try setting the network owner of your NPC's primary part to nil.
im afraid the stuttering is an error on your end
for whatever reason i managed to solve the stuttering, i still dislike the pathfinding behaviour though
Yeah, stuff like the crappy random zombies in games where you mass kill things such as enemies. (such as survive and kill the killers in Area 51) They simply just walk to the nearest players direction and that’s it, so idiotic, can’t even avoid obstacles.
easy just use rufus14's AI
imagine a monester chasing after you in like a horror game and it strats doing wrap arounds
nice england
the scariest thing that happens is when the monster starts wall jumping and re-adds corner clipping for its own benefit
Looks like your N in the 3rd word should have been an L
@@Lachrymogenic monster dedicated to get his cupcake
@@ppoly EDP
Imagine giving your game engine such bad path finding that your playerbase creates a better program using the EXACT SAME engine.
Not only that but it was done INSIDE the engine unlike the limitless possibilities that roblox could have added to make their's better
This video is outdated. They overhauled the system.
@@Forcoy
It’s still funny that it happened and in other instances too tho.
the method this guy is using is VERY inefficient and optimized i wouldnt consider this better
@@Illumina1414 In that way yes, if you bruteforce it is bad. However you can easily debug it with the new "points" system, and it is the fastest alternative.
In my game i made NPCs that chase the player but they just get stuck everywhere. Glad to see there is atleast someone who can relate.
same arth!!!!!!!!!!!!!!!!!!!!!!
@@bloodbonnieking yeah but i cant modify roblox's pathfinding algorythm to make the enemies stop thinking they cant jump a 1 cm tall block
@@ArtucoDev how about painstakingly go through every single 1 cm tall block in the game and add a pathfinding link and script the npc to jump at that specific pathfinding link
@@dumb214 i will take that as irony not an actul suggestion
why is he slowly making the npc torture severe
edit : by playing westbound and using the 'Call horse' feature, I'm starting to dislike Roblox pathfinding
because he deserves it
agreed. the horse spawns where in the opposite direction you are walking in and then it just doesn't come to you. if you like westbound maybe we can play sometime. I love that game
same
@@anidiot4108 if it's parental discipline should I put my child on *"THE JAR"*
Used to play same
it would be way more useful if PathfindingService told you which part of the path it could do and the part of the path it couldn’t do.
I think it can actually
@@eleos5 fr? I’ve never been able to figure out how to do it
@@AdenRc The pathfinding creates some "position nodes" (that's how I call it), so you can just loop through them
This video is outdated. They overhauled the system.
@@Forcoy okay, but is it better?
i love how he becomes more and more insane and torturous in his procedures, man goes from lightly berating him to decapitating him and putting his head in a jar. it's like he's trying to get information out of the NPC by torturing him
don't forget how he stretched the NPC's legs to the point where it had blood going down it's right leg
@@funnijesterguy the npcs eyes are also extremely enlarged
@@funnijesterguy *left leg* 🗿
@@funnijesterguy I’m pretty sure that signifies the npc cut himself!!
Legend says Pathfinding NPC is still watching the better Pathfinding AI
now to test the true capability of the pathfinding AI: get it to do a 13 stud jump and an 11 stud wraparound (neo)
Someone made a pathfinding ai that complete toh
naaah bro get the ai to do tower of revolving fates
@@namelastname6884 ayo jtoh player
@@zuffusproductions2142 ye
@@crystalizationism toh is easy
This video literally replicates the rage I go through whenever pathfindingservice fails me which- is very often.
Hmm what if pathfinder npc enters backrooms
That's a good question... 10 likes and it will happen
@@eleos5 ten likes on what
@@Mezocyclone the comment
2 more likes
its real
You're a better programmer then a multimillion-dollar company
Roblox engineers have to make a lot of generalizations. One example I can see is how the custom characters are walking horizontally. Roblox assumes the character is effectively a cylinder with whatever height and width given by the developer, so it doesn't find the path in that scenario.
Not to mention the custom pathfinding is a snail compared to the built-in nav mesh to generate. It takes skill to optimize something like that to be that fast well.
Roblox definently could fix it, they just choose not to.. as doing so would not result in a profit.. and thats why I stopped using it as a game engine.. so much more freedom and control with unity and C#
and that company owns the most popular game in america and throughout europe
@@OscarBobbIsTheGOAT roblox isn't a game.. its a terrible game *engine* and platform for games made with that game engine
@@Minecraft-3699 they don't need to do a lot of the things they do just for a profit, in fact it frequently results in problems for them when they try to revamp something, like the Talent Hub or the Developer Docs. People said that the original versions of those 2 were better than the current one, and Roblox sure as hell isn't making any money by making mistakes by trying to modernize.
What does Unity's built-in navigation do better than Roblox's?
And "Roblox is a terrible game engine"? Unity doesn't have Humanoids, data storage, free online servers and all, so Roblox is better than Unity in many ways. I have yet to see a game that can't be recreated in Roblox.
(Also, ending every sentence with ... is annoying to read)
Honestly the PathfindingService is one of the most confusing APIs I've ever tried using. I mean I could wrap my head around it eventually but it just feels like such a pain to do every time I have to deal with it. But that doesn't mean it's less efficient than this video's way. I'd rather figure out a way by spamming raycasts and then hoping it would be a more versatile system while hopefully being just as efficient
hi buddy :)
@@xDicemiceterxew.
the click to move uses the path finding as well, in some cases this is annoying (like when it decides not to climb ladders) but in other cases it makes sense. prevent you from just being able to beat parkour/obby with just click to move
You can edit the player module to make it climb.
Imagine escaping from a monster in a horror game and they start doing 10 stud wallhops, actual glitches, WALL CLIPPING and among other things
Would be neat if the path visualizer changed colors for what it considered jumps, like blue for "oh you absolutely have to jump here"
Currently working on a project with someome called Polaris-Nav. Allows you to create and edit navmeshes for roblox. Planning on adding Npc behaviour trees and much more.
its all fun and games until the pathfinding ai starts doing corner clips
this is why you should always make a custom pathfinding system with nodes when making a serious game
this is why atrazine made his own pathfinding system for astro force and possibly tdX
Roblox pathfinding is really designed for common and generic cases, it also saves a lot of process because they clearly chose a more amplified grid that does not allow it to be precise, there is no perfect pathfinding, you can do it to your liking, make a 3D pathfinding that is compatible with everything is expensive, but if your game is only handled in X and Z you can do a much simpler 2D path finding.
You're a funny guy and i love it, ngl you earned sub and i'll make sure to watch every video of yours.
I agree. I try to make monster that chase you and they get stuck on EVERYTHING! I ALWAYS have to put an invisible barrier on EVERY direction for it to work!
soon your npc and the enemies of the npc will look and think how to rebuild as a vision and as a squad
A mix of humour and an honest demonstration on Roblox bad path finding
The issue with roblox's pathfinding is it uses a pretty crappy low-resolution navmesh, each vert is on a 4x4 grid. Idealy, and how every other game engine ever does it, it should just get the level geometry removing any faces that are at too steep an angle and connecting any islands where possible. Your method, although it works is a pretty poor implementation, using a basic grid-based flood fill algorithm which is less precise only being able to go to specific points and is slow.
And even though it's a bad implementation it's better than Roblox's in built one. Really speaks to the quality of their game, huh?
@@UltimaDoombotMK1 not really, just because this guys implementation works doesnt make it any better that Roblox's built in one. They are for 2 very different use cases, Roblox's is good for generalised open world pathfinding. This guys is for tight maneuvers nothing more.
@@gsck5499 ^
lmao when you strapped him on the wall he still says path unsuccessfull
It makes happy to see someone torturing the pathfinding NPC, i never thought anyone would do that lol
great video. your video reminded me of technoblades videos for some reason
ui love roblox's AI but sometimes my ai just uses shortcuts and countinues to go to a wall when following waypoints
Love how you end up just forcing the npc to watch the other npcs for eternity 💀
"Now you're following the path? you baby!"
Eleos5: *also follows the NPC on the baby path*
this was an entertaining video to watch, but seeing the slow and painful torture the pathfinding NPC had to experience will be unforgettable
"Pathfinding system" he sure did find the path to failure.
man just defeated a multi billion dollar company in a few lines of code
I have been trying for the past month or so to get BASIC NPCs working with Pathfinding. I have gone far beyond the point of even wanting to re-read the same pages again to achieve the same results that do not work. Thank GOD I am not the only one losing my mind about this.
I want horror survival where the enemies are slightly slower than you, but have impeccable parkour skills and will follow you anywhere if it knows where you are
Probably the only coding video I've watched were I am VERY entertained.
"walk here if you are a babay", also Eleos5: OH what's this?
Also him: I better ni¡ot see comments on me being a baby
LMAO i enjoyed to watch the well deserved anxiety of the Pathfinding NPC, so relatable... This is the best honest video i was looking for.
1:54 bro took that personally
also wow ur good at scripting
I want to see a 1v1 with spheres and wedges I have no reason to believe this will make pathfinding npc win
we don't talk about non flat surfaces
@@eleos5 why
@@Player24 your slightly late
@@TheChillerCow only slightly
@@Shitpost162 *6 mo ago*
this is too true, i wished the multi billion dollar company would have at least upgraded their built in ai system.
2:30 lol he just forces that npc to watch 5 or more or less do it without baby mode then proceeds to bully him by torturing him and forcing them do average things it cant do
There was an update to pathfinding iirc, you can give it a dedicated navmesh, to make pathfinding understand ladders you fool it into thinking its a really steep walkable ramp
The hotel story monster could literally do better by literally finding you and tracking you when you don't get a room at the start of the game
Click to move can plan out a path with a jump in it but for some stupid reason it slows down whenever it goes into the air so it can't make the jump
the pathfinding npc was traumatized for 12 years after the incident and grew up to be a depressed homeless person
later on he died due to lung cancer from cigarettes
Can you actually leave tutorial for this pathfinder. It would be a revolutionary change.
Not only that, a chasing monster that can't notice you will stutter due to being near and resulting in camping
Oh wow… i played a horror game today, where the monster just couldn’t make its way around the table and it was pretty easy
I literally scrapped a whole game because the pathfinding wouldn't go up a singular stair.
Can you do the same as you did with the sword fighting AI and by that I mean can you upload the game to Roblox and make it so we can download and edit the game?
Oh That Explains Why The Zombies On Recoil Zombies,Project Lazarus: Zombies And Michaels Zombies Always Seems To Get Stuck In Corners And Walls All Over The Map Which At Final Zombies Of Every Round You Need To Walk The Entire Map Just To Find Them And Kill Them So That The Round Changes
i like how the most re-watched parts of the video are where he adds those blips of text
PATH UNSUCCESSFUL!!!!!
Very cool!
4:09 it can be a good idea if the pathfinding npc can learn from what hes seeing, and then he does the obby like a player, lol
I'm trying to think of how i can do this, only thing i can think of is make a bunch of raycasts. can someone give me some advice on a better option??
or roblox decides to make a better pathfinding system
bro jumped over the sign like actual people in real life when a sign saying something is blocking the way for a reason
2:20 using the right click menu to delete parts is such a 2022 baseplate user move
him: oh now u find the path baby
my brain: hes a baby
I slowly watched a man turn into a psychopath
3:50 oh god
Its frustating how pathfinders who follow players never catch up with them no matter how fast the npc is.
will you post it somewhere? ?? ? ? ?
When I think people could actually use it.
It's too slow and inaccurate for anyone to find use for it yet. Some people are asking for part 2 but it's going to be really annoying to do. I'll do it if this comment gets 10 likes.
@@eleos5 yeyeyeyeye lets gooo
@@eleos5 he got 10 likes, where is it?
Bro this guy just went to testing roblox’s pathfinding to literally making it look to the things that he could’ve done if he was a good pathfinding bot
congrats you just described the video
@@groupie8985 thanks
Dang how did you get it that fast?
I was working on a 3D flood fill for reasons and I couldn't get it faster than render stepped (or heartbeat I forget which one is server side)
Is it just because you are using 2D and so its faster due to that?
Yes, one of the reasons is because I was using 2d, but you can actually be faster than heartbeat.
If you count each time you loop in your while loop, you can check if the count is divisible by 5, and put the wait in there. Every 5 loops you will wait instead of every loop. You can do this by doing (if n % 5 == 0 then). % is like / but it just returns the remainder.
This video give me ptsd of dummies vs noobs and decaying winter
Those 2 game path finding npc is extremely smart that it can walk like player or trying to dodge bullet like player
One time i made obby for npc. And i little rotated a parts. He still stands
they can't make it too good because click to move uses the same system(I think)
imagine obby ai that has the same level of skill as someone manually botting the obby
cant wait to see the first ai completion of ToG
Plot twist: WE were one of the pathfinding npcs, and we were watching one of the upgrade pathfinding npcs.
nobody noticed how he was just casually left the toolbox open searching for "bloodshot eyes"
bro walks right past his own sign saying he's a baby lol
The Technoblade of Roblox, love it!
Bro violated that NPC 💀
2:07 POV: you accidently fall off when ur making fun of someone else
he did it on purpose
purposely*
Dude. That makes no difference, you know? You aren't some kind of grammar genius or something.@@billybobjankens12
@@1............................. Woahhhh there buddy. Calm down.
@@1............................. Woah there, you can't just go easy on them. Go hard on them!!
Your telling me, this entire time i thought the rest of the community called it a neo, even though they call it a wrap around?! What did they get the inspiration from, a burrito?
"Oh yeah dude i found this new jump thing you could do thats probably been on minecraft for years anyways even though it would be cooler to call it a neo, im gonna call it a wrap around because im eating a bean cheese burrito right now and the tortilla is wrapped around the ingredients and therefore giving this movement.. tech thing a horrible name."
I cant man, i cant
how is his voice so calm and so angry at the same time
you should make a pathfinding npc torture timelapse
*pathfinder starts doing truss flicks and glitchwraps*
The path finding npc doesn’t deserve this! First it was Roblox’s fault, not the npc’s, and second off, even if it was his fault, he shouldn’t be tortured for failure? He should be helped, not imprisoned! :(
tori, you sweet milf
@@Secret_Pilot1 l bozo
Jk but l bozo
big brain roblox developer now u've changed since i last played w u in 2017
Now every other generic survival game felt like actual cash grabs.
ele:i better not see comments about me being a baby
me:no
After such roast.
Pathfinder was looking for a path to your house
I wrote my own navmesh and pathfinding algorithms for my games that don't use the Pathfinding service at all
not only is the built in pathfinding kinda meh but also it doesnt work when you try to change the overall "map" in a game instance (navmesh poops itself) also btw is there any way we can get source code for your pathfinding
bro is a whole villain 💀
Legends say that pathfinding npc is still suffering until now
it would be funny if there was a game to let your anger out to torture the really really bad path finding npc
"I put him in a jar"
I don't like where this is going.
"Walk on this if you're a baby"
*Proceeds to walk on path*
*Puts a sign that says walk on this path if you are a baby
*Proceeds to walk on the path
Eleos is a certified baby now
Chinese censorship
bro did NOT let that slide 💀
3:25 a bot doing a wraparound is funny
Idk why I'm watching this despite the fact I don't know anything about coding
"walk on this if you are a baby"
*proceeds to walk on it*
If it tries to run through a wall, you know it’s a Roblox npc
Eleos is being a baby and the npc too