[Full Release] Introducing the Pathfinding Links for NPCs

npcs becoming players [NEW ENDING]

jokes aside, this is actually useful.

5 Likes

This new pathfinding stuff could be very helpful

3 Likes

NPC becoming smart?
oh man i really love this update,is just insane!!!

3 Likes

Thanks for you feedback. We will make the line and circles more visible. Regarding the attachment, we are aware of this issue, we are working on the fix.

7 Likes

It looks good👍. I just have a game where my NPC can’t find a way, even if it’s physically convenient to jump.
And that’s how it is on almost every jump.
It’s great that it’s going to be done manually. :grinning:
It would just be necessary to improve the ability to find a way through places where he has to jump. Because it’s going to be a long job when it’s easy to jump into a place, but it doesn’t find a way.

3 Likes

It doesn’t seem to be working if the attachments are too far away from each other.

1 Like

Thank you ROBLOX Staff, I’m sure someone will make something cool with this. Definitely going to play with this feature!

1 Like

YESSS!!! Finally, I have been waiting for this feature for sooo long. Thank you!!

1 Like

Just wondering, is it possible to ask if the Pathfinding Links Beta can be enabled for your game?

I’ve done some things with it and there doesn’t happen to be any issues as far as I know (with the exception of waypoints being inside terrain and the part where certain paths have waypoints spammed next to each other in less than approx. 0.01 studs apart from each other, which I have trouble reproducing)

Would be cool if I can start using the Pathfinding Links in-game

2 Likes

I’m pretty sure the perfect quote to describe a player’s fear after this goes into a mainstream release will be “Be Scared, Be Angry.”

Anyways, I am extremely impressed at the new beta for AI pathfinding. This will make AI fighting games next level instead of an AI cakewalk.

1 Like

I’ve been playing with this recently and I am really enjoying it. So far it works completely as intended but I would like some customisation over how the visualisation is displayed.

If I have a tall wall that I would like my NPC to jump over, I’d prefer to have the link curve show over the wall, and not to go through it.

Example:
image

Also an “AlwaysOnTop” property would be nice as well (mainly for the label).

4 Likes

Oh my gosh this is awesome! I need to know if it’s possible to reference either of the two attachments when you hit a link though. For example, when the NPC gets to the Start Attachment of the link, is it possible for me to know the End Attachment of the link without hardcoding it?

If this isn’t possible, you should really make it a feature so we don’t have to hard-code all the portals or ladders in every map of our game.

Can links with the same labels share multiple attachments?

Like for example if I allow NPCs to use a elevator that can go on multiple floors (let’s say there’s 25 floors) can I make 25 links with each of them having the elevator as the start position?

Also, will there some type of equivalent script event like Blocked for pathfinding links or some type of unique pathfinding ID table list if a label is used? For example, if multiple NPCs are pathfinding to a elevator that’s on a timer and the elevator shuts down/blows up (lol) suddenly, what could I use to tell the NPCs that are currently pathfinding to the elevator to stop and use the stairs or another elevator? Seems like the only way you could do this is to loop through every single NPC’s waypoints to see if that waypoint label is being used which can be a lot of looping.

I do not understand how every time I try to make an AI that can move, it always stutters. Even using the official ROBLOX article, it stutters. Making AI has been rough…

Set WaypointDistance in your AgentParameters to math.huge.

Hey developers,

Thank you so much for sharing feedback throughout this beta. This feature is now live and available for use in production!

Let us know if you have any questions or feedback.

4 Likes

Hi! Regarding [Full Release] Introducing the Pathfinding Links for NPCs - #40 by Chrystian_PPP, will it be fixed?

Is it normal that it’s not showing the circles anymore to be able to see if the pathfinding link is projected correctly? I just can’t get them to work with ladders and my pathfinder completely ignores the pathfinding link even though I included the same Label inside the “Costs”.

Here the SpawnLocation is the “goal”. (It’s at the top of the window) But my path status is “NoPath” whenever It tries to pathfind to it. Here is a video:

Did I do anything wrong?

2 Likes

Hi, Could you please log a bug report for this. If possible attach the file as well so that we can reproduce the issue

Thank you for responding! Here’s the place file: (It includes all my scripts)
PathfindingLinks.rbxl (54.1 KB) I have the most recent roblox studio version and I use a mac. I just started testing with pathfinding links so I don’t know if this is a bug or just something I did wrong. I have all the Visualization settings ON in Studio Settings. I don’t use teamcreate. My mac is on version 12.2.1