- Home /
Question by
billyjoetyler · Nov 04, 2014 at 09:48 PM ·
gameobjectrigidbodynavmesh
Navmesh agent rigidbody
hi, I have a rigidbody and a navmesh agent on a gameobject, but the problem that I am having is that the rigidbody has no effect on the navmesh so when the agent is on a hill it is perfectly flat:
-So does anybody know how to give the navmesh agent physics to be parallel to the hill?
-does anybody know how to stop the navmesh agent sliding down the hill?
error.png
(3.7 kB)
Comment
Answer by The-Game-Master · Nov 06, 2014 at 11:26 PM
I'm wondering if you have any rotations constrained. I've experienced it myself, and what I did was this: I had it continually rotating the gameobject in a script, and checked when it was colliding with the ground. (I had it floating .1 units off the ground. I don't know if this helps any, but it's worth a try!
Your answer
![](https://koobas.hobune.stream/wayback/20220613170722im_/https://answers.unity.com/themes/thub/images/avi.jpg)