So that white little cube is destination of car agent. Its working perfect on flat but if there is a slope agent's rotation is not changing. How can I do that?
Asked
Active
Viewed 202 times
0
-
you need to give more information and context about what you are doing what is the problem (code samples etc.). – Guy Levy Oct 02 '21 at 15:14
-
Please clarify your specific problem or provide additional details to highlight exactly what you need. As it's currently written, it's hard to tell exactly what you're asking. – Community Oct 02 '21 at 15:14
1 Answers
0
Here is a similar question with a seemingly useful answer to your situation.
NavmeshAgent player not parallel to slope of hill when moving over hill
The gist is, NavMeshAgents don't do this themselves. You will have to program that in yourself.

The Justice King
- 190
- 9