New Pathfinding Modifiers - Studio Beta

Love what I’m seeing here.

With that said, do you guys have on the docket any future plans to improve nav mesh generation (or maybe support for custom ones)? Why I’m saying that is I was trying to stress test PathfindingService on a larger map, and it failed to move my NPC up a simple staircase with CanJump set to false.

:frowning:

6 Likes

This is an amazing feature, I’m wondering if it would be better to have the option to not parent the PathModifier to the object and instead have a property for it? Similar to how adornees work for billboardGuis.

2 Likes

Just in the right time for release of my new tycoon! Pathfinding Modifiers are going to make sure that the NPCs don’t skip the paths :wink:

info: Don’t try setting the cost of a Modifier less than 0, It’ll not compute the path, and when stopping the running server, it’ll infinitely load and crash! Also you don’t get an error in console. :slight_smile:

6 Likes

thank the lord, our pain is finally over

1 Like

I HAVE BEEN WAITING FOR THAT SO MUCH!

Now I can collide my doors fully ServerSide, as they only collide clientside for NPCs to interact with!

And I can make more crazy NPCs now!

2 Likes

I bow down to cinderstock for working on this. Thanks from the bottom of my heart!!! :heart:

Finally I can force npcs to go through the middle of a block and not from the edge! I’m loving this, huge update for scripters! Thanks again!

Would this in the future support models?
Doesn’t seem to work out for me:


Only bounds to BaseParts (for now, hopefully):

Wondering why?

An example:

I could just place a Modifier in the model to avoid all BaseParts in that model.
Doesn’t work (Don’t mind the dummy, look at the path):

It would make it so much easier.
Instead of putting separate modifiers in each BasePart:

8 Likes

Yes, I needed this so much, I was almost going to do this in a very hacky way.
I can now finally make NPCs walk through doors, I needed this for so long.
Now we can finally make NPCs that walk on sidewalks of streets, go through doors, walk over bridges instead of attempting to swim and all that cool stuff.

I think this feature has been requested for years and it’s finally here, my day has been made. Today feels epic.

1 Like

This is starting to sound like minecraft’s baritone. It’s almost scary but so exiting to see that we could have realistic npc’s in our games now.

1 Like

Hell yeah that is very cool feature

1 Like

Negative costs are valid input values, and it’s ok to use them to annotate special objects, such as power-ups. But since the cost is multiplied by the traversed distance, you might run into a situation where longer paths with negative costs will be preferred over shorter alternatives. So in a practical sense, negative cost values are rewards.

8 Likes

Can we please have an agent parameter that can let us customise the height allowed for the AI to jump? Because in a lot of scenarios the AI cannot jump over a tall wall, despite the AI having high jump power.

11 Likes

This would work great with AI Vehicles!

2 Likes

Thank you, this makes a lot of sense :smile:

Unfortunately, based on the following quote from a reply above, it doesn’t sound like negative cost values work as described. I would assume, if this is accurate, this is likely either a bug or an oversight due to negative costs being unexpected.

2 Likes

Is it intended that ModifierID and PassThrough values on PathfindingModifiers don’t save (they just reset) if I exit the studio?

1 Like

Yeah. This happened to me. I wanted to create a footpath that my AIs would prefer walk on (rather than the dirt) and then I went to test it, and then nothing happened. And then when I stopped running the game, studio stopped responding.

1 Like

Thank you, this is a great addition to Pathfinding.

Will you support functionality of Modifiers to work with Models as well? I think it’s impractical and poorly designed if this is to only work with Baseparts because it is tedious and time consuming to add them into every Part instead of a few Models

In general we’d want to have our entire model have a single modifier for all Parts in it if we choose to do so, it would improve UX and QOL.

3 Likes

Oh my! That’s a great update, can’t wait to test it out right now! :sunny:

3 Likes

YESS FINALLY AI CAN TRAVEL THROUGH DOORS!
No more getting stuck in rooms!!

4 Likes

Woow, roblox u just made amazing thing, i think is very cool and usefull!

1 Like