- Home /
Question by
pedjaradenkovic · Nov 29, 2017 at 12:27 AM ·
navmeshnavmeshagentclicktomove
Higher speed of Navmesh agent makes him go off the optimal path
Hello,
I'm working on creation of click to move mechanic using navmesh for finding the optimal path.
During the testing I found out that agent can easily miss the optimal path when its speed is set to higher level (7 and above). This is especially obvious when agent needs to avoid sharp obstacles. On the other hand, when default speed of the agent is decreased agent stays on the optimal path as expected.
Here is how agent is behaving when moving slowly
And here is the problem
I saw some very old discussions about the same problem but none of the answers helped me.
Can someone point me in which direction I should look for potential solution? Is there some way to control this behavior though scripts attached to the agent?
Comment