as in Terrain.SampleHeight
Hi
What you can do is to find the closest point and sample the height of that.
AstarPath.active.GetNearest(transform.position).clampedPosition
There is no build in functionality to find the height of specific XZ coordinate unfortunately, but this comes close enough.
1 Like