- Home /
NavMeshAgent Navigation over Rough Terrain
I currently am working on using a baked NavMesh in order to have an AI with a NavMeshAgent follow a player object in a cave. The cave floor consists of fairly rough and bumpy terrain which causes a fair amount of vertical jerkiness.
Is there any way to smooth out NavMesh navigation over rough terrain and remove a bit of the up and down jitter?
Answer by HarshadK · Dec 30, 2014 at 05:16 AM
Yes. Create a separate mesh for your floor of the cave and bake navmesh using this mesh. So now your navmesh will use this flat floor to walk onto rather than the actual bumpy floor. And don't forget to disable the renderer for this flat floor mesh.
Your answer
Follow this Question
Related Questions
NavMeshAgent not fully reaching destination, thus it won't delete itself when it gets there 1 Answer
NavmeshAgent.remainingDistance remains at 0 but the agent still moves and behaves correctly 4 Answers
NavMeshPath.corners.length is always 0 1 Answer
Constantly generating Navmesh destination for endless runner game 0 Answers
NavMeshAgent Destination Problem 0 Answers