Hi,
I’m just wondering, is there any direct purpose for the NavMeshPath objects? It doesn’t seem to server any purpose except to set an objects path, however, this can be accomplished with SetDestination?
I am wanting to do networking (not using RPC or unity) and sending the path to the server in steps so as to keep it as in sync as possible. Can this be accomplished with NavMeshPath? Or better, if every client recalculated the route, would they all come up with the same solution? As this could make things far quicker.
Thanks
Fabian
Anybody?
Nobody?
You cannot set a path with NavMeshPath since “corners” is read-only, I used it to be able to use a LineRenderer to draw a line along the path (using corners points) from the transform to the destination while moving.
Thanks for answering. So isn’t there a way to make NavMeshAgent follow a specific path, then?