- Home /
NavMeshAgent dont find the right way on runtime build NavMesh ,Agents didn´t walk right on a runtime generated NavMesh
dear everybody,
I have the problem, that my NavMeshAgents are walking in different directions, and only two of three go to the destination. These two are walking different, too. Sometimes they slow down, sometimes they walk a big curve around the destination...
The history: I worked on a pregenerated "terrain" with a flat surface. I baked the terrain before I tested the game and everything was fine. Now, after I changed to a on runtime generated map, I bake my meshes with NavMeshSurface.,dear everybody,
I have the problem, that my NavMeshAgents are walking in different directions, and only two of three go to the destination. These two are walking different, too. Sometimes they slow down, sometimes they walk a big curve around the destination...
The history: I worked on a pregenerated "terrain" with a flat surface. I baked the terrain before I tested the game and everything was fine. Now, after I changed to a on runtime generated map, I bake my meshes with NavMeshSurface.
I only use the surface.BuildNavMesh(); commando, with "Collect Objects: Children" and "physics Collider" The agents uses the this.agent.SetDestination(Destination.transform.position); commando
thanks
Your answer
Follow this Question
Related Questions
All my NavMeshAgents are tilted 1 Answer
Finding Closest Object Through Navmesh,Identifying Which Object Is Closest on NavMesh 0 Answers
NavmeshAgent.remainingDistance remains at 0 but the agent still moves and behaves correctly 4 Answers
NavAgent not following on rebuilt NavMesh 0 Answers
How to make NavMeshAgents traverse two possible paths 1 Answer