Check if point is on Navmesh

Hey guys, what up?

I’m making a JumpConector actor, for navigation agents to jump between navmesh blocks, and I need a way of checking if two points are on the same navmesh block… How do I do that?

Thank you for any help you can provide

PS:I want to expose that check-function to blueprint…

You need two coordinates of your navigation mesh (e.g., if your mesh is represented as ABCDABCD, than you need A and C`). Than just use point-in-triangle test modified to 3D mesh. Like this one.