Align navmesh agent (AI) with terrain - Nothing is working!
Hey,
I have spent days researching and trying to smoothly align the enemy that uses navmesh agent (no rigid body) with the ground, but nothing seems to be working. I have tried many scripts and maybe it's because of the hills that I have in my game and the AI moves really fast especially when running and there are "snapping" glitches rotating left / right really quick. At this point I am desperate to find a solution, the enemy is just floating while going downhills and while climbing a hill it's front legs are going in the ground.
I have also built a height mesh with the navmesh system. I will be thankful for any suggestions.
Answer by Clrj14 · Mar 27, 2018 at 12:59 AM
Make your enemy a child of the navmesh agent. Then manually control the rotation of the character thats a child of the navmesh agent.
Your answer
Follow this Question
Related Questions
How can I make it possible for a navemeshagent to walk trough terrain trees? 0 Answers
Can't Bake Navmesh on terrain! 0 Answers
NavMeshAgent wont work above z500 0 Answers
Turn a Terrain into a Contoured Map 4 Answers
Terrain Lightmap - Just Give Up... 1 Answer