Hi thank you for reading this, I don’t need help with the pathfinding itself but on how to make “Units” prefer using Roads more than driving the best way possible? I tried looking up some solutions but didn’t find any, I hope someone can help me find a solution so I can start working on that! If you have any more questions or this post is in the wrong category please write me.
1 Like
You’re looking for pathfinding modifiers.
When working with
Terrain
andBasePart
materials, costs can be directly defined by the material name. 1. Locate validMaterial
names such as Water or Neon . 2. Add matching keys to theCosts
table along with numeric values. All materials have a default cost of 1 and any material can be defined as non-traversable by setting its value tomath.huge
.
1 Like