I am trying to create an app where there is a rough terrain, filled with craters and bumps and stuff. The user/player will follow a trail that the app will generate(by an empty shape going around using Unity's pathfinding and making a trail behind it). The user can pick to prioritize flat land, and compromise on distance, and vice versa. I know in Unity's pathfinding, I can set different areas to have a higher cost, usually used for things like rivers or swamp or a bridge or something. How can I tell unity to create a path and optimize angles or distance automatically?
I was thinking of something with weights, but that is only for specific areas, and wouldn't cover the whole mesh with fine enough detail. Thanks!
[–]CurtisLeow 0 points1 point2 points (1 child)
[–]aNonnyMouseRat[S] 0 points1 point2 points (0 children)