RecastJSPlugin about outside of navmesh

i create a small ground and a big ground,the small ground is a navmesh,when i click big ground which outside out navmesh,i’ll get zero point ,i use getClosestPoint to get point.Is there any other way here to get the position of the nearest point on the navmesh,when i click big ground which outside of nanmesh?

Cc @cedric

Note that Cedric is on vacation and may not respond until he returns at the end of this month.

You can change the query extent value to a bigger value so your picked mesh hitpoint will fit:

1 Like

thank you

1 Like