Hi,
I am setting up my first game and wanted to make the character move. I follow the tutorials but I find the workflow rather complicated. Is it really mandatory to have NavMeshSegments? When I bake a NavMesh for my scene, the outline is perfect. Can't I just use that automatically calculated one? Having to redo all this now with NavMeshSegments seems like overkill.
From what I have seen raycasting on a NavMesh should be possible to detect clicks [1]. I suspect the functionality is already there in AC and I am just using it wrong so I would really like a nudge in the right direction.
[1]
http://answers.unity3d.com/questions/325929/raycasting-on-navmesh.htmlCheers, Robert
Comments
If your mesh have a collider is enough to use it for calculate Unity Navmesh and path find with it...
Now, to detect the clicks, as you say, you need to raycast the collider. Now that collider are the NavMeshSegments, but you can use any collider you want, just remember to put it on the Navmesh layer.