Virtual objects in AR environment navmesh help

Hi everyone,

I need to get some virtual objects working in line with what MARS is doing with the real world environment.
I can’t seem to get NavMesh obstacles to work as well as generating a NavMesh on the top surface for the player to move on to.

Any guidance or support would be amazing :smile:

Hello @Gareth-Tech ,

The MARS NavMesh package contains some scripts and a sample built on top of the Unity NavMeshComponents scripts to demonstrate how to use NavMesh in AR with MARS, have you checked that out?

You can open the Hello Navmesh scene in the root of the package for an example of how to use this extension.

Hi Gareth,

If you’re generating the navmesh obstacles with the stretched cube, you can generate a navmesh surface on top. What I would do is just slightly center the obstacle downwards so it doesn’t overlap with the top level surface, but cuts through anything beneath it.