- Home /
Navmesh problem with characters rotation in the terrain
i'm caught in a problem, i need navmesh in my project, But navmesh rotation is not working as the rigidbody rotation, the navmesh rotation isn't rotating the object in terrain, The objects are with zero degrees of inclination. I do not know where I went wrong or WHAT I have to do, already I tried many times, I hope someone help me!
My objective is the result of second image with navmesh!!!
Answer by barbe63 · Jun 10, 2015 at 02:23 PM
I don't know if there is a better way but I would try to use the third method and rotate your spider according to both the terrain normal and the destination Vector with a LookRotation.
I'm not good enough with Quaternion and Vector for rotation to give you what would be the code without trials.
Hoping there is a better way because it would be better to make the first method working.
thanks, i will try the third method with quaternion rotation, more ideas or codes are welcome.