- Home /
NavAgent messing up rotation after using NavLink
Hello All, I have a navAgent that I want to give the ability to walk on walls. I bake the ground mesh then baked a wall mesh using a rotated object. I then link the two meshes and the agent is able to navigate to and from the wall no problem. Except for rotation. after using the link to the wall the agent has its rotation set 90 degrees then rotates to the destination. Anyone encounter this before? I would think it would have to do with the nav agent trying to figure out its correct rotation since it transformed from ground to wall at 90 degrees. But the agent has proper rotation on the wall, its just that initial placement, any ideas. Thanks!
Nav Mesh setup Post Jump
Your answer
![](https://koobas.hobune.stream/wayback/20220613043348im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
How to get a velocity unit vector from a NavMeshAgent? 1 Answer
Need help detecting barriers for my game 0 Answers
Baking a nav mesh through a tunnel 3 Answers
Make a flying enemy ? 0 Answers
Navmesh agent forward movement 1 Answer