Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
\$\begingroup\$Can you explain what you're trying to accomplish? The navmesh is not a physics object visible to raycasts, but we might be able to implement the feature you have in mind in a different way.\$\endgroup\$
\$\begingroup\$Yeah, I looked into navmesh Raycast. The objective is to sample the navmesh without a ray terminating against things like walls. The Nav ray mentioned above would still suffer from the limitations expressed in the post, unless I am misunderstanding it's function.\$\endgroup\$
NavMesh.Raycast()sounds like what you want. Have you tried that yet? \$\endgroup\$