NavMeshAgent dont find the right way on runtime build 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
How to change speed for a cloned prefab instead of applying it to all instances of prefab? 1 Answer
How to get the closest object in the navMesh and making the agent move towards it 1 Answer
Help with good coding practices and player Nav Mesh Agent Jumps. Thanks. 1 Answer
Object reference not set to an instance of an Object? 0 Answers
Having problems with making a Navmesh Agent stop and play an attack animation 0 Answers