Is there anyway to make NavMeshAgent no clip

162535-unwalkable-area.png

  • I had simple plane ground bake to NavMesh map with no height (static)
  • Then I added NavMeshObstacle with Carve to some points in map.

Right now it’s work perfectly for normal navigations with NavMeshObstacle.

But problems is I want to force agent walk into NavMeshObstacle area for temporary duration.

Is there any variables to set it no clip? Thank you!

For anyone else struggle like me.

Use
agent.isStopped = true;

ane do a manual movement scripts for Object that move.

after Object reach destination stop manual script and use

agent.isStopped = false;