We are happy to announce PathfindingModifiers is now out of beta!
What are PathfindingModifiers?
PathfindingModifiers are instances used to annotate/modify parts or meshparts. Their purpose is to let game creators customize the cost of traversing the volume their parent defines. To do so, CreatePath() now also includes a parameter Costs to map PathfindingModifier.Label to cost multipliers. For instance, a cost value of 100.0 makes the parent Part 100.0 times harder to traverse. Conversely, a cost value of 0.5 makes the volume twice as likely to be included in the final path.
You can read more about Pathfinding and Modifiers on the DevHub and in the original post:
This new update is amazing! I was able to test this while it was in beta, and it made pathfinding so much easier. This will be amazing for things like pets, and NPCs that in the past have had weird pathfinding… traversing through water etc. Thank you to the Roblox staff!
Astounding! Amazing! I absolutely love this, now my non-heat-resistant NPCs can walk around the ground-level pit of fire (that’s a hypothetical scenario). And they can see openable doors now too.
The first idea I could think of is having NPC citizens that obey traffic laws (i.e. don’t wander into the streets, only cross at designated intersections.) Conversely, it could be used to keep self-driving cars in the right lanes.
in the words of @Ndawqz LETS GOOOOOOOOO! I have been waiting for this to be fully released to start making a pathfinding system! This is some pog stuff right here.
Needs some work, but it’s better than hacky workarounds I once used.
CanCollide bricks with a script that adds NoCollisionConstraints for every other BasePart in workspace now and in the future, have fun trying to beat me in terms of inefficiency
Anyway, it’s pretty cool that they’re fully released now. But, I have to ask, are PathfindingLinks coming in a separate update? I thought they were going to be included in the full release of this one, as they only appeared with the addition of the Modifiers beta feature.
We are ecstatic within Roblox for infusing in useful features including pathfinding. Out of ordinary innovations, this is precisely practical for good miscellaneous like NPCs. Therefore it’s kind of more incredible than anything else, thanks Roblox!
I honestly dont know how to thank you guys for all of the stuff you give us, this is truly amazing, my respect for all the dev team always working on these awesome new updates
This feature is indeed really good though when is it going to be possible to add an ignore list at the time of computing a path? Currently if you make a path starting from your animal’s position, pathfinding will think the animal itself is an obstacle… Anyways, thanks for the current feature!
Why the modifier Label isnt just a part property and then manage the costs and PassThrough using just scripts like PhysicsService why collision groups ?
Pathfinding Modifiers were designed with the idea in mind that most of the world has default navigation cost, whereas some parts of the world may need their traversal cost tweaked. Thus, not every Part needs to be tagged for navigation purposes, and we can save some memory by only tagging Pathfinding Modifiers instead.
That said, if you need to tag many Parts differently, that would be valuable food for thought for us, so don’t hesitate to share such a situation with us.