NavMesh interfering with player terrain collision

Hi! I am generating a NavMesh on my terrain through the scene explorer. In my code, I’m adding a collision control to my terrain in code and when I run the game it seems that the NavMesh is being included in the collision because I notice my player hitting some of the “invisible” points on the NavMesh. Is there a way to have the NavMesh ignored when adding collision to my terrain?

@normen, do you have any thoughts on this?

Just create a node to separate the terrain from the navmesh. Then only add the collision to the terrain node.

->rootNode
—>TerrainNode (add collision here)
------>Terrain
—>NavMesh

1 Like
@totiman9 said: Just create a node to separate the terrain from the navmesh. Then only add the collision to the terrain node.

->rootNode
—>TerrainNode (add collision here)
------>Terrain
—>NavMesh

This worked - thank you! :slight_smile: