Given x-z coordinates, can navmesh returns the y value?
76 views
Skip to first unread message
Jeff Weign
unread,
Jan 2, 2023, 10:13:34 PM1/2/23
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to recastnavigation
Hello! It seems recast ignores the y-value difference, so if i have x-z coordinates, is there a way i can get the corresponding y-value on the mesh?
Graham Pentheny
unread,
Mar 15, 2023, 10:37:18 PM3/15/23
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to recastnavigation
Hi,
I'm not sure I fully understand what you're asking, but you can use dtNavMeshQuery::findNearestPoly to find the closest point on the navmesh, which is a full xyz vector.