I’m working on a large open world game, where the player can set up shelter. If I’m correct, Unity requires all gameobjects to be static for the built in navigation to work ?
If so, can I instantiate the shelter and then make it static, or do I need a dynamic alternative ?
And it needs to be suitable for a large open world, I’ve seen many examples on alternatives but only on 20x20 maps. Any ideas ?
If you use Aron Granberg’s Astar Pathfinding Project, you can assign any mesh, including procedurally generated ones, to it’s NavMesh graph at runtime. You can also combine meshes beforehand to make a bigger one for that purpose.
actually i think that for an open world game pathfinding wouldn’t be the best solution i recommend you experiment with waypoints(predefined or random) or random movement ie altering its path with the obstacles which come its way.